in this episode i cover how to use all the types of Print Statements
Code:
int x = 5;
int y = 10;
int z;
System.out.print(x);
System.out.println("This one presses enter after");
System.out.printf("%s divided by %d", x, y);
System.out.println(" ");
Scanner scanner = new Scanner(System.in);
System.out.println("enter a int:");
z = scanner.nextInt();
scanner.nextLine();
System.out.println(z);
System.out.println("test\ttest");
System.out.println("test\rtest");
System.out.println("test\ftest");
System.out.println("test\btest");
System.out.println("test\ntest");
On this page of the site you can watch the video online Java Tutorial #1 - Print Statements with a duration of hours minute second in good quality, which was uploaded by the user Mambo 21 May 2018, share the link with friends and acquaintances, this video has already been watched 48 times on youtube and it was liked by 1 viewers. Enjoy your viewing!