Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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?

image

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

Step: 1

Line 15 ifstudentID vName has a problem because the logical AND operator is being used to check if b... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Java How To Program Late Objects Version

Authors: Paul Deitel, Deitel & Associates

8th Edition

0136123716, 9780136123712

More Books

Students also viewed these Programming questions

Question

Difference between truncate & delete

Answered: 1 week ago

Question

What is service marketing? internal marketing? AppendixLO1

Answered: 1 week ago