View Single Post
  #6 (permalink)  
Old 09-12-2008, 01:53 PM
Eranga's Avatar
Eranga Eranga is offline
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 7,445
Rep Power: 11
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
Default
Originally Posted by ur_rek View Post
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
What you want to know? Please don't interact with others threads, if your question is not related.
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
Someone helped you? their helpful post.
Help:Forums FAQ|How To Ask Questions The Smart WayResources:The Java Tutorials|Glossary for Java|NetBeans IDE|Sun DownloadsWeb:WritOnceTips:Is your IDE the best?|Which Application Server?
Reply With Quote