Question
a.
To make public data accessible to client
b.
To make public data private to client
c.
To make private data public for whole program
d.
To make private data accessible to the client
Posted under Object Oriented Programming
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. Why do classes use accessor methods?
Similar Questions
Discover Related MCQs
Q. Why do we use user defined classes?
View solution
Q. Which feature is exhibited by the inbuilt classes?
View solution
Q. What is the use of inbuilt classes?
View solution
Q. In which case the classes can be used to make more efficient program?
View solution
Q. Class is _____________ of an object.
View solution
Q. Which among the follow is a feature of class?
View solution
Q. Which among the following is an advantage of using classes over structures of C?
View solution
Q. Which class represents the most abstracted information?
View solution
Q. If a database have to be maintained using OOP, to store the details of each employee in a company, which would be the best choice among the following?
View solution
Q. If a class have two data members and two functions to add those two numbers and to subtract them, which among the following is most efficient if the programmer wants to implement multiplication too?
View solution
Q. To group all the brands of cars, what should be used?
View solution
Q. Which among the following is the main characteristic of class?
View solution
Q. Deriving a class in such a way that that the base class members are not available for further inheritance is known as ___________________
View solution
Q. Which feature is not related to the derived classes among the following?
View solution
Q. The members of a derived class can never be derived.
View solution
Q. How many classes can be derived from a derived class?
View solution
Q. If base class is an abstract class then derived class ______________ the undefined functions.
View solution
Q. If class A is derived from another derived class B which is derived from class C, which class will have maximum level of abstraction?
View solution
Q. Derived class is also known as ______________ class.
View solution
Q. If a class is being derived using more than two base classes, which inheritance will be used?
View solution
Suggested Topics
Are you eager to expand your knowledge beyond Object Oriented Programming? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!