When does the compiler supply a default constructor for a
class?
Answer Posted / sudhakar rao
When we donot override the default constructor in a class,
which is extended implicitly by our class from java.lang
package, compiler supplies it.
| Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
What is used of static keyword in java?
Which sorting is best in java?
What the difference is between execute, execute Query, execute Update?
What is the default size of load factor in hashing based collection?
What are synchronized blocks in java?
Why do we create threads in java?
Can keyword be used as identifier?
What are the two types of streams offered by java 8?
Why we used vector class?
Difference between default and protected access specifiers?
Is hashset ordered?
Why is java logo a cup of coffee?
What is a treeset class?
What is the difference between jvm and jre? What is an interface?
What are the default and parameterized constructors?