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. If a constructors should be capable of creating objects without argument and with arguments, which is a good alternative for this purpose?
a. Use zero argument constructor
b. Use constructor with one parameter
c. Use constructor with all default arguments
d. Use default constructor
Answer:Use constructor with all default arguments
Confused About the Answer? Ask for Details Here
Know Explanation? Add it Here