Answer Posted / mah
constructor is similar to a function.constructor name and
class name should be same.constructor donot return any value
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
How do you use compareto in java?
What is difference between class and object in java?
What is a superclass?
How infinite loop is declared?
What is not object oriented programming?
How would you dynamically allocate memory to an array?
What are the differences between graph and tree?
What is the difference between static (class) method and instance method?
What is your platform’s default character encoding?
Where are the card layouts used?
What do you mean by collectors in java 8?
What is abstract class constructor called?
Is string serializable in java?
Why are data types important?
What is null in java?