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
Is array a class in java?
What is the difference between integer parseint and integer valueof?
What is the generic function?
What is difference between length and length() method in java ?
Write code of any action class?
Is nullpointerexception checked or unchecked?
Can a static member function access member variable of an object?
What is assembly language?
What is the effect of keeping a constructor private?
What do you mean Abstraction in java?
Which is faster string or stringbuilder?
Can substring create new object?
What is type conversion in java?
What is dynamic array in java?
Is java se open source?