When does the compiler supply a default constructor for a
class?
Answer Posted / manju
In java if we do not create the constructor,by default it
will be automatically invoked at compile time
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
How is string immutable in java?
What is an interface in java?
Can we serialize static variables in java?
What is return null in java?
What methodology can be employed to locate substrings inside a string?
What is mutable object and immutable object?
Can we use String with switch case?
Explain the difference between throw and throws in java?
What is the need of transient variables in Java ?
Can we override final method?
How to instantiate member inner class?
Which language is java?
Is null an object in java?
How many characters is 16 bytes?
What is a default constraint?