0
How do I list a class schedule in Java
I am new to programming I must write a program that displays my class name, course number and Time I have the class. I have 4 classes and I have not idea how to do this . just started school today and this was the first assignment. can anyone help.?
1 Resposta
0
in java, inorder to perform an output on the "console"(most basic form of output) - you have a "command' called println
Its syntax is :
System.out.println("what I want to print");
Inorder to do as you were asked for, you could write the relevant information for each class in its own println command.
It important to point out, that println will go down a line at the end of the input.
if you would like not todo so - you could use the print command instead.
its syntax is :
System.out.print("what I want to print");