fork download
  1.  
  2. class multipleAssignment
  3. {
  4. public static void main(String[] args) {
  5. int i,j,k;
  6. i=j=k=10;
  7. System.out.println("i="+i+" j="+j+" k="+k);
  8. }
  9. }
Success #stdin #stdout 0.15s 57880KB
stdin
Standard input is empty
stdout
i=10 j=10 k=10