MCQOPTIONS
Saved Bookmarks
| 1. |
What one of the following is best practice to handle Null Pointer exception? |
| A. | int noOfStudents = line.listStudents().count; |
| B. | int noOfStudents = getCountOfStudents(line); |
| Answer» B. int noOfStudents = getCountOfStudents(line); | |