oracle PLS-000103如何解决此错误

时间:2019-03-21 04:32:36

标签: sql

private String studentId;

public void setStudentId(String studentId){


if(studentId != null && studentId.trim().length() > 0 && studentId != " " ){
    if(studentId.charAt(0) == 'a'){
        this.name = studentId;
}
}
else{
    System.out.println("Error. NOt Valid.");
}

0 个答案:

没有答案