When does the compiler supply a default constructor for a
class?
Answer Posted / satish
when we do not specify constructor expectly,java complier
provides default constructor at the time of compliation time
| Is This Answer Correct ? | 14 Yes | 2 No |
Post New Answer View All Answers
What happens if a try-catch-finally statement does not have a catch clause to handle an exception that is thrown within the body of the try statement?
If we don’t want some of the fields not to serialize how to do that?
What is difference between final and finally in java?
What is the console in java?
How many types of java are there?
What is == mean?
Explain about complier design(phases)
What does file separator do in java?
What is array initialization in java?
Is boolean a wrapper class in java?
Where are the card layouts used?
Can we call thread start () twice?
what is use of functional interface in java 8?
what do you mean by java annotations?
What is difference between string and new string?