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
Can you connect Active Directory to other 3rd-party Directory Services? Name a few options.
how to increase the water ring vacuum pump efficiency?
is the used fire extinguisher fall under Hazardous waste material?
Why is not creat swap partition in my system.
W.A.P to take input of an array and display the entered no. in dos.
nohup sort employees > list 2 > error out & what will happen?
what is the number of water, sand and cement required for moulding brick?
why we need embedded system
what is the difference between VARCHAR and VARCHAR2?
Q1. A. Compare the advantages and disadvantages of a three- dimensional monitor using a varifocal mirror with a stereoscopic system. B. Write a routine to implement the polymarker function.
what is your career objective?
which field is comparitively very best , today and in future while considering the following : ELECTRONICS [OR] NETWORKING
Friends Any one tell me the best institute for the telecom protocol course
what does static variable mean in c language?
Prove that in a self-complementing code the sum of the weights must be 9?