KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > implementz > POJO


1 /*
2  * JBoss, the OpenSource J2EE webOS
3  *
4  * Distributable under LGPL license.
5  * See terms of license at gnu.org.
6  */

7 package implementz;
8
9 /**
10  *
11  * @author <a HREF="mailto:bill@jboss.org">Bill Burke</a>
12  * @version $Revision: 44138 $
13  */

14 public class POJO implements ImplementsInterface, ImplementingInterface
15 {
16    public POJO() {}
17    public void methodFromImplementing()
18    {
19        System.out.println("*** POJO methodFromImplementing");
20    }
21    public void methodFromImplements()
22    {
23        System.out.println("*** POJO methodFromImplements");
24    }
25
26    public void methodFromImplementingSuper()
27    {
28        System.out.println("*** POJO methodFromImplementingSuper");
29    }
30
31    public void methodFromImplementsSuper()
32    {
33        System.out.println("*** POJO methodFromImplementsSuper");
34    }
35
36    public void ownMethod()
37    {
38        System.out.println("*** POJO ownMethod");
39    }
40 }
41
42
43
44
Popular Tags