Computer Science, asked by rharishkumar1995, 1 year ago

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

Answers

Answered by Rossily
3
jshsjshhdjsjdkjajskakhsjs
Answered by Anonymous
0

Answer:

Ummm apne to pura ek para dediya

Similar questions