Выберите единственный верный из приведенных результат компиляции и выполнения кода.

import java.util.Formatter;
public class Format2 {
  public static void main(String[] args) {
    String s = "hello123";
    Formatter f = new Formatter();
    f.format("%S", s);
    System.out.println(f);
  }
}

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Keep exploring
Java quizzes
Cosmo
Sign Up Now
or Subscribe for future quizzes