how to print multiple things on the same line in java code example
Example: printing multiple variables in java
System.out.printf("First Name: %s\nLast Name: %s",firstname, lastname);
System.out.printf("First Name: %s\nLast Name: %s",firstname, lastname);