In what circumstances, compiler will supply a default
constructor for a class?
Answer Posted / ranganathkini
If no constructors are explicitly defined for the class,
Java supplies a default no-arg constructor which does
nothing more than initialize the fields of the class to
their default value.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Where is the find and replace?
What is a java developer salary?
Is there any tag in htm to upload and download files?
Which is better arraylist or vector?
Why is singleton class used?
Who is founder of java?
Can private class be inherited in java?
Difference between stack and queue?
Does hashset allow duplicates in java?
Why does java not allow multiple public classes in a java file ?
Explain the hierarchy of java exception classes?
How is treeset implemented in java?
Will set allow duplicates in java?
Why do we create threads in java?
Can we use String with switch case?