Can a constructor be protected?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

Are the imports checked for validity at compile time? Will the code containing an import such as java.lang.abcd compile?

0 Answers  


What are Encapsulation, Polymorphism and Inheritance?

5 Answers  


Tell me a few examples of final classes defined in Java API?

0 Answers   DELL,


Explain scope or life time of local variables in java?

0 Answers  


What is singleton service?

0 Answers  






Explain the importance of throwable class and its methods?

0 Answers  


How can be define MARKER interfce in java

1 Answers  


how to create multithreaded program? : Java thread

0 Answers  


What are Access Specifiers and Access Modifiers.

6 Answers   TCS,


I was asked to draw the class diagram for the below scenario which should obey OOPS concept. A Portal is to be developed for a school , which has 3 main divisions viz , Education , Admin & Trust. Each division has 2 sub divisions Kinder Garden & Higer Secondary.

3 Answers   Amtek, Huawei,


I want my class to be developed in such a way that no other class (even derived class) can create its objects. How can I do so?

0 Answers  


Why non nested classes in java are not having marked as protected access specifier

2 Answers   Google,


Categories