Q:

Which among the following is false for class features?

0

Which among the following is false for class features?


  1. Classes may/may not have both data members and member functions
  2. Class definition must be ended with a colon
  3. Class can have only member functions with no data members
  4. Class is similar to union and structures

All Answers

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

 (b).Class definition must be ended with a colon

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
Instance of which type of class can’t be created... >>
<< Which of the following pairs are similar?...