It's preference really in that case. There's nothing wrong with declaring it inside the main method because then it will be local to the main method.
It's true you can't just "increase" the size...
Type: Posts; User: helloworld922
It's preference really in that case. There's nothing wrong with declaring it inside the main method because then it will be local to the main method.
It's true you can't just "increase" the size...
please use [code] tags, or even better, [highlight="Java"] tags
A 1-D vector of booleans is extremely useful for implementing the sieve of eratosthenes (finding prime numbers), though...