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 the difference between Eclipse and MyEclipse?
VSS Objectives
Can any one tell me How to explain bank project desription in interview
i need java 1+ experience resume on java developer kindly send me my mail id:srikanthreddy1.marla@gmail.com
Which interface does java.util.hashtable implement?
Write a interface "CarOperations" with the following methods void turnOnEngin() void turnOffEngin() void turnOnLigths() void turnOffLights() void turnLeft() void turnRight() void accelerate() void deaccelerate() void putBreaks() void releaseBreaks()
who will give req's to u?. how they send req's to u? . what design documents contains?. when bugs raised on other developer code how to report to them?.(throgh mail or ........). how to retrive 100 recods from dao layer to presentation layer.using which collection?. what is sequence diagram.?.
Hi Friends, i have searched in google but not clear. can you give bank example with synchronized keyword
when exactly should we use throws ,and wen exactly should we use the try and catch for exceptional handling
what is mean by hasing and maping in java platform and advantage?
what is the difference between checked and unchecked Exceptions?
How do you create UserTransaction Object? How do you rollback a transaction in a method?