+ 1
1. What is the constructor parameter in the code below: (JAVA)
public Puppy(String gender) { System.out.println("The respondents gender is :" + gender ); }
1 Antwort
+ 3
The parameter is gender of type String.
public Puppy(String gender) { System.out.println("The respondents gender is :" + gender ); }