Answer Posted / ravikiran(aptech mumbai)
constructor is the one which is used to pass the
initializing parameters during instantiation
| Is This Answer Correct ? | 9 Yes | 3 No |
Post New Answer View All Answers
What is double checked locking in singleton?
What is a lambda expression ? What's its use ?
What is the difference between class forname and new?
Name component subclasses that support painting in java programming?
What is the primitive type short?
how to split string in java?
What is use of static method?
Is array primitive data type in java?
In a container there are 5 components. I want to display the all the components names, how will you do that one?
What are accessor methods in java?
What is hashtable and explain features of hashtable?
What is the main advantage of passing argument by reference?
What are 3 boolean operators?
What is singleton class in java and how can we make a class singleton?
What happens when you add a double value to a string?