public class DisplayMyDataInOneLine {
public static void main(String[] args) {
System.out.print("Hameed"+ "
");
System.out.print("26"+ "
");
}
}
System.out.print("Hello World!");
System.out.print("Bonjour Le Monde!");
// output: "Hello World!Bonjour Le Monde!" (all in one line)
// the lines that are greyed out are comments and act as notes
System.out.println("Hello, world!");
// Output: Hello, world!
System.out.println("<Your line here.>");