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 |
What are the main classes of the list interfaces? : java collections
what about web architecture?
What are the different types of ways where you can iterate over a list? : java collections
What are the interfaces in java collections? : java collections
How many controlers are there in spring? Plz send me ans
What are the differences between the java collection and the java list? : java collections
Which interface does java.util.hashtable implement?
whats the relation ship between LDAP and JNDI?
What are the different types of classes implemented in the set interfaces? : java collections
What is the enumerator of the java collection framework? : java collections
what is the difference between checked and unchecked Exceptions?
Explain JSP life cycle?