When the constructor of a class is invoked?


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

Post New Answer

More Core Java Interview Questions

Convert a binary search tree to a sorted doubly linked list inplace.

1 Answers   Amazon,


what is difference between abstract factory and factory design patterns?

0 Answers  


Why call by value prevents parameter value change?

0 Answers  


What is escape analysis algorithm in JVM and how garbage collection actually worked n how it transfer the objects from one kind of space to other?

0 Answers  


I have one POJO class(Java bean class), it has two variables for that it has setters and getters. Now i have created two objects for that class and i have set the data for those variables through this two objects. Now question is i want check whether those two objects have same data or not, for this write a program? Thanks, Bose.

2 Answers   Oracle,






can any one tell me when do u go for inheritance and polymorphism

3 Answers  


What are the Main functions of Java?

0 Answers   Akamai Technologies,


can u give one sinario when you use Abstract Class and When you use Interface.

5 Answers   ITC Infotech,


What is the use of using enum to declare a constant?

0 Answers   Fidelity,


Can long be null in java?

0 Answers  


How does singleton class work?

0 Answers  


How many bits is a 64 bit byte?

0 Answers  


Categories