πŸ“Š CPP Programming
Q. When an ADT is implemented as a C++ class, which of the following should normally be true?
  • (A) Member functions are private, member variables are public
  • (B) Member functions are public, member variables are private
  • (C) Member functions as well as member variables are private
  • (D) Member functions as well as member variables are public
πŸ’¬ Discuss
βœ… Correct Answer: (B) Member functions are public, member variables are private

You must be Logged in to update hint/solution

πŸ’¬ Discussion

πŸ“Š Question Analytics

πŸ‘οΈ
764
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
86%
Success Rate