Computers, Electronics, Gaming & IT
Yeah, just starting out, and decided to start with some very basic stuff. I'm trying to get the following clear in my head, but I just cannot seem to figure it out...
public boolean posNeg(int a, int b, boolean negative) {
if (negative) {
return (a < 0 && b < 0);
}
else {
return ((a < 0 && b...