Search Interview Questions
| 2720 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.
|Core java - 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 HCL Technologies Tata Consultancy (TCS) IBM Wipro Deegit Argonne National Laboratory Motorola Mobility Accenture Deegit Cerner 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 ?|
|Which of the following keyword is not permitted for outer class ?|
|Can a class be declared "protected" ?|