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 benefits of java?
Should a main method be compulsorily declared in all java classes?
Why for each loop is used?
What is difference between this and super keyword?
Difference between linkedlist and arraylist.
What is the difference between the direct buffer and non-direct buffer in java?
What do you mean by append?
What is static import in java?
Where can i get Latest SUN Certification Dumps and what are the Sun Certification Codes that are available, Im new to JAVA, so please gimme info as i need to write J2EE - Core Java Certification
Explain oops concepts in detail?
What are "class access modifiers" in Java?
What are the types of java?
What mechanism does java use for memory management?
Why are generics used?
What is the difference between delete and delete[]