fork download
  1. class NewClass {
  2. public static void main(String args[]) {
  3. int x=2,y=5,z=3;
  4. z+=y-x;
  5. System.out.println("z="+ z);
  6. }
  7. }
  8.  
Success #stdin #stdout 0.12s 55768KB
stdin
Standard input is empty
stdout
z=6