Search Interview Questions
| 3335 questions in repository.|
There are more than 200 unanswered questions.
Click here and help us by providing the answer.
Have a video suggestion.
Click Correct / Improve and please let us know.
|Interview Questions and Answers for 'Argonne national laboratory' - 1 question(s) found - Order By Newest|
|Very Frequently asked across all type of companies and across all levels.|
|Ans. Private - Not accessible outside object scope. |
Public - Accessible from anywhere.
Default - Accessible from anywhere within same package.
Protected - Accessible from object and the sub class objects.
|Help us improve. Please let us know the company, where you were asked this question :|
|Like Discuss Correct / Improve  java   oop   access specifier   public   private   default   protected   basic interview question Asked in 11 Companies basic   frequent|
Try 1 Question(s) Test
|Can we instantiate the object of derived class if parent constructor is protected ?|
|Which access specifiers can be used with top level class ? a. public or default b. public or private c. public or protected d. protected or default|
|Which of the following keyword is not permitted for outer class ?|
|Can a class be declared "protected" ?|