> 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.