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 is a constructor?
What are the different types of classes implemented in the set interfaces? : java collections
what is the IDE that you have used to write your java programs?
2 Answers Inforica, Interface Software,
wnet use DAO design in u r project?
whats the relation ship between LDAP and JNDI?
What is an algorithm in java collection framework? : java collections
What is iterator in the java collections framework? : java collections
What is the enumerator of the java collection framework? : java collections
what is the difference between checked and unchecked Exceptions?
What are the considerations to be made in case of loops in java ?
Hi Friends, i have searched in google but not clear. can you give bank example with synchronized keyword
what is acl(access control list)?