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
What is the default execution method in java?
What is getkey () in java?
When will we prefer to use set and list in java and why?
What is the size of boolean variable?
Which language is java?
What is jdbc api?
What is difference between next () and nextline () in java?
What is variable explain with example?
Give differences between Quicksort &Mergesort. When should these sorts be used andwhat is their running time in java?
Why java does not support pointers?
What is array length?
This abstract class is correct ? abstract class A { public abstract void Disp(); public abstract void B() { } public absract virtual C() { } }
What is a class reference?
What type of variable is error flag?
What is difference between filereader and bufferedreader?