my computer glitched and all my work got deleted so i had to redo other assigned problems. will be back as soon as i catch back up
Type: Posts; User: ATB
my computer glitched and all my work got deleted so i had to redo other assigned problems. will be back as soon as i catch back up
Enter student id:1234
Enter course id: 1 for Math, 2 for English1
Students registered for Math:
null
Exception in thread "main" java.lang.NullPointerException
at...
if (courseName.equals("Math"))
i seriously dont see it . im so lost.
now it shows:
Enter student id:1234
Enter course id: 1 for Math, 2 for English2
Students registered for Math:
Exception in thread "main" java.lang.NullPointerException
at...
i am trying to insert 5 students ids and a
course number for each student id. Then it prints all
5 student ids and the course name associated with
each student id.
but im having trouble...