Length is a method, not a field. the correct way to get the length of studentID is studentID.length() not studentID.length
You can look at the String documentation here: String (Java Platform SE...
Type: Posts; User: DavidFongs
Length is a method, not a field. the correct way to get the length of studentID is studentID.length() not studentID.length
You can look at the String documentation here: String (Java Platform SE...