What happens if a constructor is declared private?


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

Post New Answer

More Core Java Interview Questions

class A { private int i; } class B extends A { private int i; } if I create an object of B class what will be the memory of that object.

2 Answers   Yamaha,


How do you implement singleton class?

0 Answers  


Is a char always 1 byte?

0 Answers  


What are methods?

0 Answers  


What is substring of a string?

1 Answers  






What is the use of 'super' keyword inside a constructor?

0 Answers   Flextronics, Thomson Reuters, Virtusa,


What is entry in java?

0 Answers  


What are the two main uses of volatile in Java?

0 Answers  


What is a final class ?

0 Answers  


What do you mean Abstraction in java?

0 Answers   Aspire, Infogain,


What is the different between get and post?

0 Answers  


Which sorting algorithm is best in java?

0 Answers  


Categories