When does the compiler supply a default constructor for a
class?
Answer Posted / ravikiran
when there is no other constructor with arguments is defined
| Is This Answer Correct ? | 0 Yes | 4 No |
Post New Answer View All Answers
What is the purpose of garbage collection in java?
Can we have any other return type than void for main method?
Can memory leak happen java?
What are the differences between wait() and sleep()?
What is byte [] in java?
If I don't provide any arguments on the command line, then what will the value stored in the string array passed into the main() method, empty or null?
What are the benefits of operations in java?
Give an example of use of pointers in java class.
How are the elements of a gridbaglayout organized?
Is java same as core java?
What is parsing in grammar?
What is meant by overloading?
What are abstract classes and anonymous classes?
What is void class in java?
Can we sort set in java?