Question OOP-ENC-0030
EasyWhich Java access modifier is the most restrictive?
- A.
public
- B.
default (no modifier)
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Encapsulation question
Which Java access modifier is the most restrictive?
public
default (no modifier)
Sign up free to see the answer and a step-by-step explanation.
protected
private