01: /**************************************************************************/
02: /* N I C E */
03: /* A high-level object-oriented research language */
04: /* (c) Daniel Bonniot 2000 */
05: /* */
06: /* This program is free software; you can redistribute it and/or modify */
07: /* it under the terms of the GNU General Public License as published by */
08: /* the Free Software Foundation; either version 2 of the License, or */
09: /* (at your option) any later version. */
10: /* */
11: /**************************************************************************/package regtest.basic;
12:
13: import java.util.*;
14:
15: /**
16: Class with static and non-static fields,
17: to test field access.
18: */
19:
20: class Fields {
21: static int intS;
22: int intI;
23:
24: static String stringS;
25: String stringI;
26:
27: String[] strings = new String[] { "A" };
28:
29: List stringList;
30: {
31: stringList = new LinkedList();
32: stringList.add("First");
33: }
34: }
|