What is the different type of access modifiers?
Answers
Answered by
4
ıllıllı ʜᴇʀᴇ ɪs ʏᴏᴜʀ ᴀɴsᴡᴇʀ ıllıllı
✨ There are four type of access modifiers as given below
• Visible to the overall package. No modifier needed.
• Private – Visible to class only.
• Public – Visible to the world.
• Protected – Visible to package and subclass.
ᴇʜsᴀss ✿◕ ‿ ◕✿
Answered by
2
HERE IS YOUR ANSWER
There are 4 types of java access modifiers:
private
default
protected
public
BE YOURS..............^_^
Anonymous:
Plz Na u should go try to understand na
Similar questions