Sinu  Joseph

Sinu Joseph

  • NA
  • 136
  • 65.8k

oops concept (interface)

May 26 2013 3:51 AM
create an interface called "ifunction" and put signature of 2 methods namely"getfueltype" and "setfueltype" function will return the fueltype of the car such as petrol,diesal etc and setfueltype fun will set the fueltype of  the car . after creationg the interface modify the above car class to implement the interface

....
can any body help me out

Answers (1)