Hi,
I'm a first year student in programming. I'm having technical difficulties with my Looper project: This is what I have so far.
ex.:
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(j==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); } } } } }
This code is being done in notepad++ via DOS. It keeps saying,
error: Class names, 'Looper' , are only accepted if annotation processing is explicitly
requested 1 error. Would love some feedback.
Thanks,
Hunter1904