adplus-dvertising
frame-decoration

Question

We can define a new class from an existing class, by using

a.

Inheritance

b.

Composition

c.

Constructors

d.

Both a and b

Answer: (d).Both a and b

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. We can define a new class from an existing class, by using