KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > tests > jfun > models > Struct


1 package tests.jfun.models;
2
3 public class Struct {
4   public final String JavaDoc name;
5   public final int id;
6   public int age;
7   public Struct(int id, String JavaDoc name,int age) {
8     this.age = age;
9     this.id = id;
10     this.name = name;
11   }
12   public static final Struct default_instance =
13     new Struct(0,"default",0);
14 }
15
Popular Tags