
well my question was focusing on the red comments (i.e. how we organize the main class). I have finished my coding. My problem is how to refer methods that they have arguments in the main method. I can put easily methods with no arguments, like
in the main method, but I cant refer the methods that have arguments inside the main method.
public void main (String [] args) {
method1 (); //here ok, no problem.
method2 (arguments* here e.g. String string, String [] array etc); //if I do this java starts yelling at me
}
*I mean the same arguments thar are necessary to write the method2. Do we write them as arguments when we refer method2 at the main method? OR we are supposed to write inside the parentheses, the 'result' of the method? OR nothing (but anyway if I just type method2(); it doesnt accept it)?