Here is a piece of code

String Str = new String("Добро пожаловать на somesite.su"); System.out.print("Возвращаемое значение: "); System.out.println(Str.toUpperCase()); 

At the end of the .toUpperCase() method, I looked at the log I can not understand what it is, what is its role? Why is it needed?

Closed due to the fact that off-topic participants pavel , Alexey Shimansky , Alex , Denis , Denis Bubnov 8 Dec '16 at 6:50 .

  • Most likely, this question does not correspond to the subject of Stack Overflow in Russian, according to the rules described in the certificate .
If the question can be reformulated according to the rules set out in the certificate , edit it .

  • 14
    His role is simple - hint that it is time to deal with basic English . - KoVadim
  • @KoVadim why is the original language worth "Creole"? : D - Alexey Shimansky

1 answer 1

Converts string characters to upper case.