A Admin • 833K Points Coach Q. Which of the following is the correct way to define a class in C++? (A) class MyClass { }; (B) class MyClass { public: }; (C) class MyClass { private: }; (D) All of the above Correct Answer - Option(D) Views: 22 Filed under category C++ Hashtags: Share Manage Tags
Discusssion
Login to discuss.