MY PROBLEM: I dont know how to organize the main method.
The program has 5 methods.
The program has to start with the
1st method,
then go to the
2nd (typing this at the end of the 1st method:
Then the
3rd method has to start.
The 3rd method uses an Array from the
2nd method.
Finally the
4th method has to start.
The 4th method needs an int calculation from the
5th method (the 5th method is 'private/public int' method with return).
The 4th method 'goes' to the
5th through this:
if(nameOfFifthMethod==-1){...}
The 5th method uses the Array list from the
2nd method and a String from the
4th method (that is different everytime the 5th method is being executed).
So:
public static void main (String [] args) {what should be written here? }
only the 'request' to start the 1st method (and the others will be executed automatically)? all the method except the 5th method (the only one that returns)? all of the 5 methods?
