mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-20 09:29:03 +08:00
e35b951f52
2000-02-12 Alexandre Petit-Bianco <apbianco@cygnus.com> * libjava.lang/inner_interface.out: New file. * libjava.lang/inner_interface.java: New file. * libjava.lang/final_int.out: New file. * libjava.lang/final_int.java: New file. * libjava.lang/final_static_and_friend.out: New file. * libjava.lang/final_static_and_friend.java: New file. From-SVN: r31944
18 lines
341 B
Java
18 lines
341 B
Java
// 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 ();
|
|
}
|
|
|
|
}
|