Skip to main content

Looper

No replies
Pagan1904
Offline
Joined: 2013-10-25
Points: 0

Hi,

First year student, a little stuck on a project. Looking for suggestions.

public class Looper
{
public static int i=0, j=0, k=0;
public static void main(String[] args) throws InterruptedException
{
performLoop();
}
public static void performLoop() throws InterruptedException
{
for (i=0; i<3;i++)
{
System.out.println(" I is: "+i);
for(j=0; j<5;j++)
(
if(==4)
System.out.println(" J is: "+j);
else
System.out.print(" J is: "+j);
Thread.sleep(5000);
for(k=0; K<7; k++)
{
if(k==6)
System.out.println(" K is: "+k);
else
System.out.print(" K is: "+k);

}
}
}
}
}

By the way I'm doing this in DOS, Via Notepad++.
This is what keeps popping up:

error: Class names, 'Looper' , are only accepted if annotation processing is explicitly
requested
1 error.

Please Help!
Thanks,
Pagan1904
San Diego,Ca.