In what circumstances, compiler will supply a default
constructor for a class?
Answer Posted / vijayakumar chinnasamy
If there is no constructor in the class , then the compiler
create a default constructor with access specifier of class.
class A{ } - compiler create default constructor for this
class.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are serialization and deserialization?
What is java autoboxing?
What do you mean by platform independence? What is an interface?
What is try-with-resources in java?
What do you mean by boolean?
What are the restriction imposed on a static method or a static block of code?
What are the differences between graph and tree?
What is autoboxing in java?
what is server side caching?
Explain about narrowing conversion in java?
What is unicode full form?
What is %02d?
How do listeners work?
Why lambda expression is used in java?
What mechanism does java use for memory management?