+ 6
I don't know why code is coming in my mind. Can anyone tell what does it do?
import java.io.*; class disturbance{ while(10>8){ /* *@param args */ } public static void main (String args[]){ } }
2 Réponses
+ 10
It does nothing. Does not even compile, because you defined the while loop at the wrong place. It has to be defined inside constructor or - the better choice here - in a method.
Then call that method inside main. And then you will have nothing but an infinite loop.
+ 1
you have lot of errors in your programs when you compile it try to figure it out what errors u made.