Get your own website
Main.java:6: error: cannot assign a value to final variable x
    myObj.x = 25;
         ^
1 error