What is a constructor?
Answers were Sorted based on User's Feedback
Answer / suma
A constructor is one which is used to initialize the
instance variables of an object.
| Is This Answer Correct ? | 7 Yes | 1 No |
Answer / srinivasa reddy
Guarrented intilization of instance variables of an object.
| Is This Answer Correct ? | 3 Yes | 2 No |
Answer / saravanan
Class name and Methods name are same. It has no Return type.
When create a instance with class the method is
automatically called.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / sunil kumar
Constructor is a special method having the same name as class name, without any return type not even void. And it is used to initialize the instance variable.
| Is This Answer Correct ? | 0 Yes | 0 No |
Why do you use Context Object
2. Write a interface "Car" with the following methods void setName(String) String getName() void setColor(String) String getColor() void setModel(long) long getModel()
What are the uses of the set interfaces in the java collections? : java collections
VSS Objectives
What is markup language?
HOW MUCH PERCENTAGE WE DEDUCT FOR OUR SUPPLIERS OR OTHER PROFESSIONALS
how to delete cookie information?and when it will delete?
what is hibernate ceteria ?
What are the different types of ways where you can iterate over a list? : java collections
what is acl(access control list)?
What is IOC in spring?
what protocols does JNDI provide an interface to?