When does the compiler supply a default constructor for a
class?
Answer Posted / ravichandra
We cannot supply any constructor in the class the compiler
supply a default constructor.
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
How to perform selection sort in java?
Can we serialize static variables in java?
What does int [] mean in java?
What are the three types of design patterns?
What are the types of literals?
When is the finalize() called? What is the purpose of finalization?
What are the advantages of compiled language?
What is constructor in java ?
Is class is a data type?
What is style and indentation?
What is the difference between the Reader/Writer class hierarchy and the InputStream/OutputStream class hierarchy?
What is the difference between static class and normal class?
How do you check whether the list is empty or not in java?
What is pre increment and post increment in java?
Can an unreferenced object be referenced again?