mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-11 19:49:32 +00:00
23 lines
369 B
Java
23 lines
369 B
Java
public class EvaluationOrder
|
|
{
|
|
private static int first (int x, int y)
|
|
{
|
|
return x;
|
|
}
|
|
|
|
public static void main (String[] args)
|
|
{
|
|
int l = args.length;
|
|
|
|
/* This should print:
|
|
0
|
|
0
|
|
1
|
|
*/
|
|
System.out.println (l);
|
|
System.out.println (first (l, ++l));
|
|
System.out.println (l);
|
|
}
|
|
}
|
|
|