Can a constructor have different name than a class name in java?


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

Post New Answer

More Core Java Interview Questions

How is object created in java?

5 Answers   Cap Gemini,


What will happen when using pass by reference in java?

0 Answers   HCL,


Why we can not force Garbage Collection?

7 Answers  


What is role of void keyword in declaring functions?

0 Answers   Adobe,


What are the different collection views provided by maps?

0 Answers  






How do you create a first line indent?

0 Answers  


If an object reference is set to null, will the garbage collector immediately free the memory held by that object?

0 Answers  


What is the use of bin and lib in JDK?

8 Answers   TCS,


When does the compiler supply a default constructor for a class?

9 Answers   TCS,


Features of JAVA ? In which version of java synchronizedXXX() methods are included in Collections class.

1 Answers   NIIT,


Which software is used for java programming?

0 Answers  


What is bufferedwriter?

0 Answers  


Categories