In the last lines of code, how do I remove the word true fromprinting? I would like the 9.1 and1 to print but not the word true. The code fails to run without it. Thank you.
This is the line : StudentAthlete sa =new StudentAthlete(“Viart”, “Kohli”, “Delhi”, 28, “V-1″, true, 9.1,”Cricket”, 1);
System.out.println(sa.getInfo());
class Person {
private String firstName;
private String lastname;
private String homeTown;
private int age;
public String getFirstName() {
return firstName;
}
public void setFirstName(String aFirstName) {
firstName = aFirstName;
}
public String getLastname() {
return lastname;
}
public void setLastname(String aLastname) {
lastname = aLastname;
}
public String getHomeTown() {
return homeTown;
}
public void setHomeTown(String aHomeTown) {
homeTown = aHomeTown;
}
public int getAge() {
return age;
}
public void setAge(int aAge) {
age =
PayPal Gateway not configured
PayPal Gateway not configured