Advertisements
Advertisements
Question
Mention three characteristics and two methods for the following Class:
class Bike
Answer in Brief
Solution
Characteristics: Fuel capacity, Colour, Model.
Methods: quality(), performanceAnalyzer()
shaalaa.com
Is there an error in this question or solution?
Chapter 1.02: Elementary Concept of Objects and Classes - EXERCISES [Page 17]