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
d Information hiding also referred to as encapsulation states that the variables of an object ... View full answer
Get step-by-step solutions from verified subject matter experts
