KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > a > a1 > A


1 package a.a1;
2
3 /**
4  * Example class file.
5  *
6  * @author Matt Albrecht <a HREF="mailto:groboclown@users.sourceforge.net">groboclown@users.sourceforge.net</a>
7  * @version $Date: 2003/12/02 23:26:44 $
8  * @since December 2, 2003
9  */

10 public class A implements IA
11 {
12     int value = 0;
13     public int getNext()
14     {
15         return ++value;
16     }
17 }
18
Popular Tags