Inheritance means:

(1 point)
Responses

an object gets attributes and methods from another object.

an object gets attributes and methods from another object.

a function gets objects from another function.

a function gets objects from another function.

a class gets attributes and methods from another class.

a class gets attributes and methods from another class.

a program gets code from another library.

a class gets attributes and methods from another class.