Answer Posted / diya
constructor is a special function whose task is to
initialise the object.the name of the constructor is as
same as the class.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Why enumeration is faster than iterator?
Difference between object and reference?
Explain about public and private access specifiers?
What is core java called?
How to find the largest value from the given array.
Why do we need data structure in java?
Can we define static methods inside interface?
What is an off by one error in java?
What are java packages? What is the significance of packages?
What does it mean that strings are immutable?
how many types of Inheritance?
Why is inheritance used in java?
How can I right-justify a string?
What is compareto?
Give any two differences between C++ and java.