Which of the following statements are true about
constructors and methods?

1)A constructor has it's own name, a return type and is
invoked using the new operator.
2)A function has it's own name, a return type and is invoked
using the dot operator.
3)A constructor has the name of the class, no return type
and is invoked using the new operator.

Answer Posted / deepika

b

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I boldly face the interview? Request:I am eagerly waiting for your replay.

2714


what is difference between Fault tolerance Vs fault avoidance

3801


explain in detail about life cycle of thread

2000


please answer the following question: A table contains the monthly sales data for the 12 months of a year and for the 4 sales zones where each zone has 8 districts.The table is defined in WORKING-STORAGE SECTION.What is the size of the defined table in number of bytes? write statements to calculate the total sales for each month.

1697


what is your career objective?

1825






What is diff b/w TON and BTU for Air conditioner?

1658


Why do large ships like aircraft carriers not sink despite weighing several thousand tonnes?

790


give me some knowledge about automation on which asked on interview

1590


what is debugging?

1705


who is your role modal give in few sentances

1937


What are annotations? What are assertions? why they are used why not if-else?? what is normalization? what is QuickSort? what are Avl trees?

2018


difference between w2k and win xp....

1518


what are the no. of leaf nodes in a fibonacci tree ?

2193


can 25mm thik and 8.5x8.5 size cast iron plate can bear a weight of 250 tons if it can what would be the compostion

1474


WHY WE USE {} AT THE STARTING OF C PROGRAM

1674