Q:

Which among the following is wrong?

-1

Which among the following is wrong?


  1. class student{ }; student s;
  2. abstract class student{ }; student s;
  3. abstract class student{ }s[50000000];
  4. abstract class student{ }; class toppers: public student{ }; topper t;

All Answers

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

 (b).abstract class student{ }; student s;

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
Object declared in main() function:... >>
<< If a local class is defined in a function, which o...