What is a constructor?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the types of java collections? : java collections

728


What is iterator in the java collections framework? : java collections

734


Hi we have an urgent requirement for Java/J2ee technical lead position & also looking for "Java Guidewire claimcentre" experienced professional for Bangalore location if interested can reach srisanh@gmail.com

2742


What are the types of the main implementing classes in the map interfaces? : java collections

834


HOW MUCH PERCENTAGE WE DEDUCT FOR OUR SUPPLIERS OR OTHER PROFESSIONALS

1749


What is the Spring2.5 MVC Navigation flow?

5733


What are the different types of collections views being provided by the map interface? : java collections

789


How is hashset maintained in memory by java ?

829


what is mean by hasing and maping in java platform and advantage?

2082


What are the queues in the java collection framework? : java collections

738


What are the considerations to be made in case of loops in java ?

776


What are maps interfaces in the java collections? : java collections

769


Hi Friends, i have searched in google but not clear. can you give bank example with synchronized keyword

1802


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.?.

2036


What are the different types of features of the java collections framework? : java collections

808