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

Methods

Question: 2

Which of the following is not a valid class specifier?

(A) Private

(B) Pointer

(C) Public

(D) Protected

Ans: B

Pointer

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

Attributes

Question: 5

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

(A) Functions

(B) Constants

(C) Objects

(D) Methods

Ans: C

Objects

Related Questions