Question: Why number 15 showing problem? Tutorial4.java Tutorial5.java Tutorial3.java *VRecord.java x 2 public class VRecord 3 1 4 public static void main(String[] args) {} 5 public

Why number 15 showing problem?

Tutorial4.java Tutorial5.java Tutorial3.java *VRecord.java x 2 public class VRecord 3 1 4

Tutorial4.java Tutorial5.java Tutorial3.java *VRecord.java x 2 public class VRecord 3 1 4 public static void main(String[] args) {} 5 public int VID; 6 public String student ID ; 7 public String vName; 8epublic VRecord (int vID, String studentID, String vName) 9 { 10 this.vID = VID; 11 this.studentID = student ID; 12 this.vName = vName; 13 } 14 public boolean IsStudent Jabbed (String student ID, String vName) { 15 if (student ID && vName) { 16 return true; 17 }else{ 18 return false; 19 } 20 21 22 } 23 24 } 25

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Line 15 ifstudentID vName has a problem because the logical AND operator is being used to check if b... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!