OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [testsuite/] [libjava.lang/] [final_static_and_friend.java] - Blame information for rev 781

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 765 jeremybenn
// Class final_static_and_friend
2
// Generated on Sat Feb 12 01:58:38 PST 2000
3
 
4
class final_static_and_friend {
5
    final int a = 34;
6
    static int b = 34;
7
    int c = 34;
8
    void foo ()
9
    {
10
        System.out.println (a+b+c);
11
    }
12
    public static void main (String[] arg)
13
    {
14
        new final_static_and_friend ().foo ();
15
    }
16
 
17
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.