Friday, November 29, 2019

Java_Lesson(10) Other classes

Starting to find my way on the java Eclipse interface.
One useful shortcut to know is syso, which one
sets form Windows-> preferences. Once it is enabled,
one merely types syso, hold down Ctrl, tap on the space 
bar and the System.out.println...command appears
automatically. 👍



                            *     *     *

So how does one put together a longish set of java commands.
Everything will happen from the Main class and its public
static void main method. Within that, one merely calls class/method
pairs one has created on other pages.

To recap: Create a new project;
a new main class from src;
a new class from source public, static;
syso from class two;
save and run from Main.

One is further free to do more within Main...





No comments: