fork download
  1. import java.util.Locale;
  2.  
  3. public class Main {
  4. public static void main(String[] args) {
  5. System.out.println(new String("ß").toUpperCase(Locale.GERMAN));
  6. System.out.println(Character.toUpperCase('ß'));
  7. System.out.println(new String("I").toLowerCase(new Locale("tr")));
  8. System.out.println(new String("I").toLowerCase(Locale.ENGLISH));
  9. }
  10. }
  11.  
Success #stdin #stdout 0.07s 215488KB
stdin
Standard input is empty
stdout
SS
ß
ı
i