Revise the preceding exercise so that the findScore method returns 1 if permission is false. Add an
Question:
Revise the preceding exercise so that the findScore method returns –1 if permission is false. Add an another method named getPermission(String name) that returns 1, 0, or –1. The method returns 1 if the student is in the Scores table and permission is true, 0 if the student is in the Scores table and permission is false, and –1 if the student is not in the Scores table.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Introduction To Java Programming And Data Structures Comprehensive Version
ISBN: 9780136520238
12th Edition
Authors: Y. Daniel Liang
Question Posted: