Answer Posted / mahesh
constructor is similar to a method.
*constructor name ,class name should be same
*constructor have a parameters
*does not return any value
*
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What do you understand by Header linked List?
What is package private scope in java?
What about member inner classes?
When can an object reference be cast to an interface reference in java programming?
Is static a singleton?
How do you achieve polymorphism in java?
What data type is a string?
What are the important methods of java exception class?
What do you mean by ordered and sorted in collections in java?
What about interthread communication and how it takes place in java?
What is the use of toarray () in java?
What will happen when using pass by reference in java?
What is jee6?
What are the types of relation?
Differentiate between stringbuffer and string?