Hi all,
Just wanted to ask a quick question, I have googled and checked the sun jaca forums but cant really find the answer.
I want to have two conditions that must be met before the if statement is carried out
where as this is what it would like with just one...
I want to do it with two conditions like this, but I dont know how to write it...
Sorry for the noob question
Thanks
Just wanted to ask a quick question, I have googled and checked the sun jaca forums but cant really find the answer.
I want to have two conditions that must be met before the if statement is carried out
where as this is what it would like with just one...
if (variable_one.compareTo("*") == 0)
{
do this
}
I want to do it with two conditions like this, but I dont know how to write it...
if (variable_one.compareTo("*") == 0) AND (variable_two.compareTo("*") == 0)
{
do this
}
Sorry for the noob question

Thanks