dimanche 26 avril 2015

bad operand for binary operator?

Hey I have no idea what is wrong, I am a beginner. Any help would be much appreciated. if(room.contains((targetRoom1) || (targetRoom2) && targetDay)){ The error for this code is bad operand types for binary operator '&&' first type: java.lang.String; second type: java.lang.String

Aucun commentaire:

Enregistrer un commentaire