MyClass.java
 

public class Main {
  public static void main(String[] args) {
    String txt = "Hello\tWorld!";
    System.out.println(txt);
  }
}

Result:
Hello    World!