Monday, November 2, 2009

Short question


Q1. Relate object and class in OOP.
Q2. Diff bet data type struct and data type class in C++.
Q3. Diff bet private and protected members.
Q4. What do destructors do? Is it necessary to hav destructor for a class.?
Q5. How can private members of a class be made inheritable?
Q6. What is a friend class? is it different from a friend function?

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.