asked 172k views
4 votes
You already have a bike class to use for a bike rental program in a city.

You created an electricBike class for bikes with an electrical assist for the handicapped.

This is an example of _____.

inheritance
encapsulation
operator overloading
polymorphism

asked
User Johowie
by
7.5k points

1 Answer

1 vote

Answer:

This is an example of Inheritance.

answered
User Bruno Toffolo
by
7.8k points

Related questions

2 answers
3 votes
158k views
2 answers
0 votes
1.9k views