C# Programming - Classes and Objects - Discussion
Discussion Forum : Classes and Objects - General Questions (Q.No. 3)
3.
Which of the following statements are correct?
- Instance members of a class can be accessed only through an object of that class.
- A class can contain only instance data and instance member function.
- All objects created from a class will occupy equal number of bytes in memory.
- A class can contain Friend functions.
- A class is a blueprint or a template according to which objects are created.
Discussion:
11 comments Page 2 of 2.
Arun said:
3 years ago
According to me, 1, 5 is the correct options.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers