Search Interview Questions
| More than 3000 questions in repository.|
There are more than 900 unanswered questions.
Click here and help us by providing the answer.
Have a video suggestion.
Click Correct / Improve and please let us know.
|Core Java - Interview Questions and Answers for 'Scope vs access modifiers' - 1 question(s) found - Order By Newest|
|Ans. Scope modifiers changes the scope of a particular element or a method. For ex - static changes the scope of that of class and not of object. |
Access modifiers changes the access priviledges of a particular element or a method. For ex - private , public etc.
|Help us improve. Please let us know the company, where you were asked this question :|
|Like Discuss Correct / Improve  scope modifiers   access modifiers   scope vs access modifiers Asked in 2 Companies basic|
|Name few access and non access Class Modifiers ?|
|What is the difference between public class and class ?|
|What are access and non access modifiers ?|
|Can a class be declared "protected" ?|