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
Can a final variable be null?
how to prepare for IT Officers Interview in Banks
Given a singly linked list, determine whether it contains a loop or not without using temporary space?
How many inner classes can a class have?
What is the difference between length and length () in java?
Why does java have different data types for integers and floating-point values?
How do you define a parameter?
When will we prefer to use set and list in java and why?
Can you give names of Container classes?
How to sort an array from smallest to largest java?
Name four container classes.
How are the elements of a gridbaglayout organized?
What are the different types of garbage collectors in java?
Can we pass null as argument in java?
How long will it take to learn java?