Answer Posted / guest
constructor is special method with the class name and
without any return value.
whenever the object is created the constructor is called
automatically according to the argument passed.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Can we change the scope of the overridden method in the subclass?
What do you mean by jjs in java8?
Is this valid in java ? Can we instantiate interface in java?
what methods would you overwrite in java.lang.object class?
Are functions objects in java?
Which is better singleton or static class?
Is arraylist dynamic in java?
What is the purpose of void?
What is the use of static methods?
Can I uninstall java?
What is the purpose of return statement?
Does list allow duplicates in java?
How to sort an unsorted array in java?
What is the largest number a double can hold?
What is the latest version of java?