Sorry, but i did not understand the meaning of "f should be a boolean"... though i know the meaning of boolean... cud u plz give me an example... :(
Type: Posts; User: c.P.u1
Sorry, but i did not understand the meaning of "f should be a boolean"... though i know the meaning of boolean... cud u plz give me an example... :(
aydea bro, thanks a lot.. this program displays exactly 21 prime numbers... i would like to know more about the break statement... what does it actually do? in this example, to which statement does...
class primeN
{
public static void main(String args[])
{
int f=1,j;