having new variable 'inter' in-between "reorder/antialias" and "hybrid" in order...
[IRC.git] / Robust / src / Tests / InitializerTest.java
1 public class InitializerTest{
2     static public void main(String[] args){
3         int mainInt = 10;
4         Foo f1=new Foo();
5         Foo f2=new Foo(3);
6         f1.print();
7         f2.print();
8     }
9 }
10
11 class Foo{
12     private int a=1;
13     private double b=5;
14     private byte c=(byte)10;
15     private short d=(short)7;
16     private long e=15;
17     private float f=6;
18     private boolean g=true;
19     private char h='h';
20     private int[] i = new int[3];
21     
22      public Foo(int alpha){
23          a=alpha;
24      }
25     
26     public Foo(){
27         
28     }
29     
30     public void print() {
31         System.out.println("a="+a);
32         System.out.println("b="+b);
33         System.out.println("c="+c);
34         System.out.println("d="+d);
35         System.out.println("e="+e);
36         System.out.println("f="+f);
37         System.out.println("g="+g);
38         System.out.println("h="+h);
39     System.out.println("i.length = " + i.length);
40     }
41
42 }