What is a constructor?

Answer Posted / suma

A constructor is one which is used to initialize the
instance variables of an object.

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

615


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

1820


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

1881


please mail me the interview question based on java/j2ee

1537


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

553






Which java collection class can be used to maintain the entries in the order in which they were last accessed?

563


Should we create system software ( e.g operating system ) in java ?

580


How is hashset maintained in memory by java ?

595


What is an algorithm in java collection framework? : java collections

583


What are the interfaces in java collections? : java collections

618


Which sorting algorithm is used by collections.sort() in java ?

553


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

575


What are the different types of ways where you can iterate over a list? : java collections

577


HOW MUCH PERCENTAGE WE DEDUCT FOR OUR SUPPLIERS OR OTHER PROFESSIONALS

1582


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

577