summaryrefslogtreecommitdiff
path: root/libjava/testsuite/libjava.lang/final_static_and_friend.java
blob: b5ca6100db6904e06c88bc0b13d6526e268ac5b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Class final_static_and_friend
// Generated on Sat Feb 12 01:58:38 PST 2000

class final_static_and_friend {
    final int a = 34;
    static int b = 34;
    int c = 34;
    void foo ()
    {
        System.out.println (a+b+c);
    }
    public static void main (String[] arg)
    {
        new final_static_and_friend ().foo ();
    }

}