InterviewSolution
Saved Bookmarks
| 1. |
Default constructor initializes all data members as ___________(a) All numeric member with some garbage values and string to random string(b) All numeric member with some garbage values and string to null(c) All numeric member with zero and strings to random value(d) All numeric member with zero and strings to nullI got this question during an interview.This intriguing question comes from Types of Constructors in portion Constructors and Destructors of Object Oriented Programming |
|
Answer» Right choice is (d) All NUMERIC member with zero and strings to null |
|