Originally Posted by
ur_rek
please any one solve this data members-vehicle name,vehicle model name, vehicle price,service station name, methods: 1.constructor,display method to display vehicle name,vehicle price,vehicle model no,and service staion name .define another class named bike that extends the clss vehicle ,data member- discount rat, methods constructor,display() method to display bike name , bike model number, bike price, service station name, discount rate,3. discount() method to cumpute the discount .create an object for the class bike to test it
rekha