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 2aa7e56 commit cef6a08
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,7 @@ public static void alternative(){
"Sophia Petrillo"
);
System.out.println(golderGirlsJava);
golderGirlsJava.setGoldenGirl1("Blanche Devereaux");
System.out.println(golderGirlsJava);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,16 @@

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Getter
@Setter
@AllArgsConstructor
@ToString
public class GoldenGirlsLombok {

private final String goldenGirl1;
public String goldenGirl1;

private final String goldenGirl2;

Expand Down

0 comments on commit cef6a08

Please sign in to comment.