Advertisements
Advertisements
प्रश्न
"Member method and constructor can be defined private". Write whether the given statement is true or false, give reasons.
पर्याय
True
False
MCQ
चूक किंवा बरोबर
उत्तर
This statement is False.
Explanation:
A member method can be private but a constructor can never be declared private because the object creation outside the class may not be possible. Hence, the given statement is false.
shaalaa.com
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?