Computer Science, asked by ranithanm2002, 3 months ago

Create a base class Fruit with name, taste and size as its attributes. Create a method called eat( ) which describes the name of the fruit and its taste. Inherit the same in 2 other classes Apple and Orange and override the eat( ) method to represent each fruit taste.(W)​

Answers

Answered by pitawatks2
0

Answer:

Sorry! not able to get the question

Similar questions