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 / anitha

a) 1 & 2
b)2 & 3
c)1, 2 & 3
d)None of the statements are true

Is This Answer Correct ?    131 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

THERE iS ANY DEFAULT CONNECTION STRING FOR WINDOWS APPLICATION IN VB.NET2005 FROM WHICH AFTER CHANGING PROJECT DIRECTORY TO OTHER PLACE AND WE DID NOT CHANGE DATABASE PATH INB SQL CONNECTION ?????

1746


How we can read an Image in VC++?How we can find out the intensities of the pixels of an image and dimension of the image?

1935


How to Define the defect density?

1703


WHAT IS THE DIff Between candidate key and primary key?

1581


how do we calculate physical address if logical address is given in the question?

2655






difference between arrays and linked list in c language?

1755


what is defect tracking in sotware testing

1577


what is the use of fact tables in your banking project doveleped with teradata?

1627


Suppose you want to form a conceptual model of UML.What elements would you require for this purpose?

1783


How does an aeroplane stay airborne and how can some aeroplanes fly upside down?

767


what is static identifier in c language?

1869


explain various object oriented programming fetures

1472


An inversion is an array of numbers is any pair (i,j) such that iA[j]. What is the average number of inversions in an array of n distinct numbers? plz GIVE ME SOLUTION

1627


hi friends i am b-tech in computer science having interview of State bank of india clerk day on 30 th april. I want to know the answer of question:"you r B.tech in C.S. why do u want to become a bank clerk?" please help.Its my humble request.

1744


What is the purpose of dampening roller

1410