Ad
  • Custom User Avatar

    45762893920 is bigger than Integer.MAX_VALUE and java can't use it as an int. You have to tell java to treat it as a long by adding an L
    45762893920L will work.

  • Custom User Avatar

    In the first comment there is a hidden Right-To-Left override character. So all following text will be interpreted as right to left. Try to select the text in the solution and you will see how selection behaves differently from normal. So for the computer it looks like this:

    /* (display next text as right to left) */ def greet = "hello world!"
    

    Why then the compiler does not complain? Because it is in the comment section.

  • Custom User Avatar

    Issue with your code, that's the desired output