KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > example > new-Version


1 package example;
2
3 public class Version {
4
5  private int ver;
6
7  public Version(int ver) {
8   this.ver = ver;
9  }
10
11  public String JavaDoc toString() {
12    return "new version "+ver;
13  }
14
15
16 }
17
Popular Tags