Which of the following displays Error when a student ID is less than 1,000 or more than 9999 ?
a. if(stuId < 1000) if(stuId > 9999)
System.out.println("Error");
b. if(stuId < 1000 && stuId > 9999)
System.out.println("Error");
c. if(stuId < 1000)
System.out.println("Error");
else
if(stuId > 9999)
System.out.println("Error");
d. if(stuId < 1000 || > 9999)
System.out.println("Error");