beginner

any suggestions to run this method, void myMeth() { int i; for(i=0; i<10; i++) { if(i == 5) return; // stop at 5 System.out.println(); } }
[200 byte] By [ray61a] at [2007-10-2 16:28:44]
# 1

> any suggestions to run this method,

>

> void myMeth() {

>int i;

>

>for(i=0; i<10; i++) {

>if(i == 5) return; // stop at 5

>System.out.println();

>}

> }

You can read the Java Getting Started Tutorial at: http://java.sun.com/docs/books/tutorial/getStarted/index.html

and then the Learning the Java Language Tutuorial at:

http://java.sun.com/docs/books/tutorial/java/index.html

Your question suggests me that you haven磘 taken the time to read and learn the basics, so go on and read.

ingdouglasa at 2007-7-13 17:30:01 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...