Projekt

Obecné

Profil

Stáhnout (711 Bajtů) Statistiky
| Větev: | Tag: | Revize:
1
package samples.ok;
2

    
3
import java.io.Serializable;
4

    
5
public class Simple implements Serializable
6
{
7
    enum Level {
8
        LOW,
9
        MEDIUM,
10
        HIGH
11
    }
12

    
13
	private static final long serialVersionUID = 1L;
14

    
15
    private String pozdrav = "AHOJ";
16
    private int testInt = 123;
17
    private double testDouble = 1.00;
18
    private int[] intArray = new int[3];
19
    private String[] stringArray = new String[3];
20

    
21
    private Level localEnum = Level.LOW; 
22

    
23
    public Simple() 
24
    {
25
        int locInt = 5;
26
        this.intArray[0] = 5;
27
        this.intArray[1] = 10;
28
        this.intArray[2] = 15;
29

    
30
        this.stringArray[0] = "A";
31
        this.stringArray[1] = "B";
32
        this.stringArray[2] = "C";
33
    }
34
}
(1-1/2)