Question: Which statement is correct? a. A class is an instance of an object. b. A class only has variables. c. Inheritance is not supported in

Which statement is correct?

a. A class is an instance of an object.

b. A class only has variables.

c. Inheritance is not supported in object orientation.

d. Information hiding (also referred to as encapsulation) states that the variables of an object can only be accessed through either getter or setter methods.

Step by Step Solution

3.31 Rating (148 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

d Information hiding also referred to as encapsulation states that the variables of an object ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Principles Of Database Management Questions!