fork download
  1. public class Main {
  2.  
  3. public static void main(String[] args) {
  4.  
  5. String x = "qwe";
  6. String y = x;
  7. x = "asd";
  8. System.out.println(y);
  9. }
  10. }
Success #stdin #stdout 0.12s 320576KB
stdin
Standard input is empty
stdout
qwe