Q:

Which syntax for class definition is wrong?

0

Which syntax for class definition is wrong?


  1. class student{ student(int a){} };
  2. student class{ };
  3. class student{ public: student(int a){ } };
  4. class student{ student(int a){} };

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

 (b).student class{ };

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

OBJECT ORIENTED PROGRAMMING OOPS CONCEPT AND FEATURES MCQ

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
Which of the following pairs are similar?... >>
<< Which among the following is false, for member fun...