R rayma2 Senior member Nov 12, 2001 821 0 0 Apr 29, 2002 #1 I am writing a program in java and I am gettnig the error...here is the screen shot of the error... PLZ help.
I am writing a program in java and I am gettnig the error...here is the screen shot of the error... PLZ help.
S Scootin159 Diamond Member Apr 17, 2001 3,650 0 76 Apr 29, 2002 #2 I think you need to make your print primes meathod static.
A Ameesh Lifer Apr 3, 2001 23,686 1 0 Apr 29, 2002 #3 your function should be declared static or create an instance of the class.
R rayma2 Senior member Nov 12, 2001 821 0 0 Apr 29, 2002 #4 Nm I figured it out I had to make a new object of the type of class I was going from then it worked.. mods you can lock this thread now.
Nm I figured it out I had to make a new object of the type of class I was going from then it worked.. mods you can lock this thread now.