\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
\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
java generics type
Java Generic Type Naming convention helps us understanding code easily and having a naming convention is one of the best practices of Java programming language. So generics also comes with its own naming conventions. Usually, type parameter names are single, uppercase letters to make it easily distinguishable from java variables. The most commonly used type parameter names are:
E – Element (used extensively by the Java Collections Framework, for example ArrayList, Set etc.)
K – Key (Used in Map)
N – Number
T – Type
V – Value (Used in Map)
S,U,V etc. – 2nd, 3rd, 4th types
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++;
}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us