Thread: help
View Single Post
  #15 (permalink)  
Old 04-03-2008, 03:16 PM
Sayed Sayed is offline
Member
 
Join Date: Jan 2008
Posts: 12
Sayed is on a distinguished road
Please have a look on this code:

public class Test implements Sample1,Sample2{
public static void main(String args[]){
System.out.println("public static void main");
Test t=new Test();
t.jen();
}
public void jen() {
System.out.println("Success");

}

}

Interface 1:

ublic interface Sample1 {

public void jen();


}

Interface:2


public interface Sample2 {
public void jen();

}
Reply With Quote