Subscribe to:
Post Comments (Atom)
Nothing Succeeds Like Success
// Program
interface
A
{
void show();
}
interface
B
{
void show1();
}
class
AB implements A,B
{
public void show()
{
System.out.println("Hello
A");
}
public void show1()
{
System.out.println("Hello
B");
}
public static void main(String args[])
{
AB ab=new AB();
ab.show();
ab.show1();
}
}
No comments:
Post a Comment
Note: only a member of this blog may post a comment.