Which Syntax For Class Definition Is Wrong #27
Which syntax for class definition is wrong?
This multiple choice question (MCQ) is related to the book/course
gs gs111 OOP Object Oriented Programming Java.
It can also be found in
gs gs111 OOPs Concept & Features - OOPs MCQ: Classes - Quiz No.2.
Which syntax for class definition is wrong?
class student{ };
student class{ };
class student{ public: student(int a){ } };
class student{ student(int a){} };