ExamTiger : Simplified Guide for competitive exams and interviews
Aptitude Tests, Mental Ability, Objective MCQ Sets, Questions and Answers, PDF, Shortcut Tips

Java : Programming Concept Questions & Answers



Question : Which one is true about a constructor ?


A.
A constructor must have the same name as the class it is declared within.
B.
A constructor is used to create objects.
C.
A constructor may be declared private
D.
All of the above

Answer / Explanation

Correct Answer is : Option D.


More Questions on Java Programming