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
What is the difference between synchronized and synchronized block?
Are private methods final?
What is classpath?
Explain jdk, jre and jvm?
Can we have any other return type than void for main method?
Can we pass null as argument in java?
Do loops java?
Mention the default values of all the elements of an array defined as an instance variable.
What is tochararray in java?
Why static functions are used?
Which is fastest collection in java?
What invokes a thread's run() method in java programming?
What is the formula to calculate percentage?
Can we extend a class with private constructor?
What are packages in java?