What if constructor is protected in java?


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

Post New Answer

More Core Java Interview Questions

How can we create objects if we make the constructor private ?

0 Answers  


Explain the difference between extends thread vs implements runnable in java?

0 Answers  


Is cout buffered?

0 Answers  


What is arraylist e?

0 Answers  


What is meant by 'bit masking' in java?

0 Answers   DELL,


How can you set an applet’s height and width as a percentage?

0 Answers  


What is null statement?

0 Answers  


public class Base { public void myMethod(int a,intb) {} } // Uses myMethod and then hides it. public class DerivedOne extends Base { private void myMethod(int a,int b); } will this compile or not .yes or no. why

2 Answers  


What is class and object in java?

0 Answers  


Difference between arraylist and hashset in java?

0 Answers  


What are synchronized methods ?

0 Answers  


Is Java Class Threadsafe ????? How to make Java class Thread safe??

2 Answers   Cognizant,


Categories