Home Tutorialhelp Comment interface A { void show(); void play(); void p

 
 

Comment

bindu
interface A { void show(); void play(); void p,
March 14, 2007 at 8:22 AM

interface A
{
void show();
void play();
void pause();
}
abstract class B implements A
{
public void show()
{
System.out.println("show a");
}
public void play()
{
System.out.println("play method");
}
}
public class Interface
{
public static void main(String[] args)
{

it does not work ,it shows an error , iwant to execute this prm means i want to overide 2 methods in another class plz solve this problem

View All Comments | View Tutorial
Advertisement
Related Tutorial and Articles
Advertisements Advertisements
 

 

 

DMCA.com