ow, I over looked at that. :D thanks. At first, I assumed that she was trying to say it to do it in a single class.
Type: Posts; User: dicdic
ow, I over looked at that. :D thanks. At first, I assumed that she was trying to say it to do it in a single class.
Yeah, your Test2 class is a single program.
but you cannot make any program algorithm outside method.
you cannot declare a loop, print something outside the method, using methods of different...
do you have a main method? you cannot do the algorithm outside the method.
please paste the error message here