FileDocCategorySizeDatePackage
MultiSuperInterfaces.javaAPI DocExample613Sun Aug 24 08:33:22 BST 2003None

MultiSuperInterfaces

public class MultiSuperInterfaces extends Object

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] args)

		new MultiSuperInterfaces().print();
	
voidprint()

		Object o = new Marked();
		if (o instanceof java.io.Serializable) {
			System.out.println("Is Serializable");
		}
		if (o instanceof java.rmi.Remote) {
			System.out.println("Is Remote");
		}
		if (o instanceof java.lang.Runnable) {
			System.out.println("Is Runnable");
		}