Should that if statement be included in the while loop? The reason I'm asking is the tuneInstrument has to be a boolean field. Thus, I have this code for that method.
public boolean...
Type: Posts; User: anmason
Should that if statement be included in the while loop? The reason I'm asking is the tuneInstrument has to be a boolean field. Thus, I have this code for that method.
public boolean...
So with the while loop, instead of printing, cello1 is tuned. cello1.tuneInstrument = true, the text file will have only the value of true.
int i = 1;
while (i < 11) {...
My current code will generate a txt file that includes "Instrument [i] : " and then the boolean values (true or false) of the four methods that I've created. However, I want the text file to include...