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 differences between heap and stack memory in java? Explain
can used Protected Class outside Function.?
Explain listiterator and methods in listiterator?
What is local variable and instance variable?
What is a constructor, constructor overloading in java?
What is a byte string?
How can we avoid including a header more than once?
If an object is garbage collected, can it become reachable again?
There are two classes named classa and classb. Both classes are in the same package. Can a private member of classa can be accessed by an object of classb?
what is anonymous class in java?
what is nested class in java?
What is a string token?
How can I debug the Java security exceptions and AccessControlExceptions?
How can u increase the heap size in the memory?
Write a program to print count of empty strings in java 8?