it keeps telling me : illegal star of expression
Can someone help me arrange my short program . Thanks
package Logic;
public class Client{
private String id;
private String name;
private String surname;
private String dob;
private int mobile;
public Client()
{
}
public Client(String id, String name , String surname , String dob , int mobile){
this.id=id;
this.name=name;
this.surname=surname;
this.dob=dob;
this.mobile=mobile;
}
public void setId (String id){
this.id= id;
}
public String getId() {
return id;
}
public void setName (String name){
this.name= name;
}
public String getName() {
return name;
}
public void setSurname (String surname){
this.surname= surname;
}
public String getSurname() {
return surname;
}
public void setDob (String dob){
this.dob= dob;
}
public String getDob() {
return dob;
}
public void setmobile (int mobile){
this.mobile=mobile ;
}
public int getmobile() {
return mobile;
}
public String printClient ()
{
return "--- Client Record ---";
"nID no: " + idNo+
"nName: " + name+
"Surname: " +surname+
"nDOB " + DOB+
"nMobile:" + mobile+
}
}