Another thing, I wouldn't be using nextBoolean. That relies on the user typing "true" or "false". Whereas it is more usual to enter "yes" or "no". This also allows more flexibility as you can do an...
Type: Posts; User: Junky
Another thing, I wouldn't be using nextBoolean. That relies on the user typing "true" or "false". Whereas it is more usual to enter "yes" or "no". This also allows more flexibility as you can do an...
You are still using assignment and not comparison. Besides when using booleans you do not need to compare.
boolean tt = true;
boolean ff = false;
if(tt) // when true
if( ! ff) //when false