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

What is the alternate of 'Inheritance' ?

4 Answers   CybAge, HCL,


How many ways can we create singleton class?

0 Answers  


abstract class Demo { public void show() { System.out.println("Hello I am In show method of Abstract class"); } } class Sample extends Demo { public void show() { super.show(); System.out.println("Hello I am In Sample "); } } public class Test { public static void main(String[] args) { //I WANT TO CALL THE METHOD OF BASE CLASS IT IS POSSIBLE OR NOT CAN WE USE SCOPE RESOLUTION OPERATOR TO CALL OR JAVA NOT SUPPORTED THAT :: OPERATORE } }

3 Answers  


What happens if we override private method?

0 Answers  


What Is Resource Leak?

2 Answers  






Name the types of 'priority'?

2 Answers  


Is arraylist ordered in java?

0 Answers  


Why spring singleton is not thread safe?

0 Answers  


Can we cast any other type to boolean type with type casting?

0 Answers  


What is thread life cycle in java?

0 Answers  


describe method overloading

0 Answers  


Explain the difference between private, public, package and protected in java?

0 Answers  


Categories