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 native code?
Can we inherit inner class?
What are the features in java?
What is the use of object and class classes?
How do you add an element to an arraylist in java?
What types of index data structures can you have in java?
What are aggregate functions explain with examples?
Why is method overloading not possible by changing the return type in java?
How do you invoke a method?
Can we split string with in java?
What is the use of System class?
What are the object and class classes used for?
What is meant by string is immutable?
What is the purpose of the system class in java programming?
Is hashset sorted in java?