Skip to content

Commit

Permalink
Golden Girls example
Browse files Browse the repository at this point in the history
  • Loading branch information
jesperancinha committed Feb 18, 2024
1 parent 85a62ec commit 7c3cbea
Showing 1 changed file with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

public class GoldenGirlsJava {

private final String goldenGirl1;
String goldenGirl1;

private final String goldenGirl2;

Expand All @@ -19,7 +19,12 @@ public GoldenGirlsJava() {

}

public GoldenGirlsJava(String goldenGirl1, String goldenGirl2, String goldenGirl3, String goldenGirl4) {
public GoldenGirlsJava(
String goldenGirl1,
String goldenGirl2,
String goldenGirl3,
String goldenGirl4
) {
this.goldenGirl1 = goldenGirl1;
this.goldenGirl2 = goldenGirl2;
this.goldenGirl3 = goldenGirl3;
Expand All @@ -30,6 +35,10 @@ public String getGoldenGirl1() {
return goldenGirl1;
}

public void setGoldenGirl1(String goldenGirl1) {
this.goldenGirl1 = goldenGirl1;
}

public String getGoldenGirl2() {
return goldenGirl2;
}
Expand Down

0 comments on commit 7c3cbea

Please sign in to comment.