oops interface called varibletest
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 ..
..