Which statement is correct? a. A class is an instance of an object. b. A class only

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 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.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: