1
Answer

oops concept (interface)

Sinu  Joseph

Sinu Joseph

11y
1k
1
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)