When does the compiler supply a default constructor for a
class?
Answer Posted / bindhu
If we do not define any constructors, the
compiler inserts an invisible zero parameter
constructor "behind the scenes".
Is This Answer Correct ? | 24 Yes | 0 No |
Post New Answer View All Answers
Can a constructor be made final?
Which is better arraylist or vector?
What is a function argument in java?
Is it possible to cast an int value into a byte variable? What would happen if the value of int is larger than byte?
What is sizeof () operator?
Write code of any action class?
Explain covariant method overriding in java.
What if I write static public void instead of public static void in java?
What is the purpose of tostring() method in java?
Explain about the performance aspects of core java?
worst case complexities of Quick sort and Merge sort.
What do you mean by exception handling in Java?
What are the important features of Java 9 release?
What is the collections api?
What is logical variable?