A directory of Objective Type Questions covering all the Computer Science subjects. Here you can access and discuss Multiple choice questions and answers for various compitative exams and interviews.

Discussion Forum

Que. How many parameters must be passed if only the following prototype is given to a constructor?

Prototype: className(int x, int y, int z=0);
a. 1
b. 2
c. 3
d. Compile time error
Answer:2
Confused About the Answer? Ask for Details Here
Know Explanation? Add it Here