create an interface called VariableTest Which contains A method called disp() and 2 variables x,y which are integers and whose value is set as 10 and 20 . create a class called VarLntTest which impliments this Interface . the disp() method should display a message "inside interface-variableTest and method disp" write a method called display() within VarIntTest class which prints the value of x
CAN U GUYS PLZ HELP ME TO FIND OUT THIS ANS AND PLZ GIVE EXPLAANTION OF THIS PROBLEM TOO ..
I WANT TO KNOW THE LOGIC THTS Y ..
..
Loading
VulpesPosted May 27, 2013, 2:21 PM
VulpesPosted May 28, 2013, 2:07 PM
Sinu JosephPosted May 28, 2013, 11:41 AM
2.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
=plz help me...
Sinu JosephPosted May 28, 2013, 11:27 AM
i hope u will help me next time also