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 |
Should we create system software ( e.g operating system ) in java ?
Hi frnds how to lock an user when he enter wrong credentials more than 3 time using java or j2ee tech take username and password in a bean no need to connect DB and validate give me some sample application code or links its urgent for me thanks in advance
What are the types of java collections? : java collections
What are the classes in the java collection framework? : java collections
Why do you use Context Object
what is filter ?
Which sorting algorithm is used by collections.sort() in java ?
How is hashset maintained in memory by java ?
Write a postfix expression to (a*(b+c/d)*d-e)
what are callback methods?
what is the diffrence between insurance and telecom domain?
What is the servletcontext listener and what is JspContext and page context pls tell in simple words.