Classes and Objects MCQ Questions and Answers - 1

Question: 1

In C++ functions are also called ___

(A) Definitions

(B) Concepts

(C) Methods

(D) Organizers

Ans: C


Question: 2

Which of the following is not a valid class specifier?

(A) Private

(B) Pointer

(C) Public

(D) Protected

Ans: B


Question: 3

OOP stands for ___

(A) Object to Object Programming

(B) Object Oriented Programming

(C) Online Objects Programming

(D) Object Oriented Processes

Ans: B

Object Oriented Programming

Question: 4

In a class data members are also called as ___

(A) Abstracts

(B) Attributes

(C) Properties

(D) Dimensions

Ans: B


Question: 5

In C++, the class variables are called as ____

(A) Functions

(B) Constants

(C) Objects

(D) Methods

Ans: C


Related Questions