Answers for "/t in java"

1

\t\t java

public static void main(String args[]) {
          String str1 = "Hello";
          String str2 = "world";
          System.out.println(str1 + "\t" + str2);
}
// \t is a tab space
output: Hello	world
Posted by: Guest on June-19-2021
-2

java \t

for (int k = 0; k < 7; k++){
        System.out.println("Vak/project:\t" + vakNamen[x] + "\t\t"
        + "Cijfer: " + vakCijfers[x] + "\t" + "Behaalde punten: "
        + vakPunten[x]);
        x++;
    }
Posted by: Guest on February-27-2020

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language