Advertisements
Advertisements
Question
Mention three characteristics and two methods for the following Class:
class Fruits
Answer in Brief
Solution
Characteristics: Smell, taste(), Shape
Methods: nutritionFacts(), availability()
shaalaa.com
Is there an error in this question or solution?
Chapter 1.02: Elementary Concept of Objects and Classes - EXERCISES [Page 17]