Created
June 29, 2024 17:10
-
-
Save mcsee/715a932cd775b89b1ea04ce0e42775fe to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Person { | |
private List<String> hobbies; | |
public Person(List<String> hobbies) { | |
this.hobbies = hobbies; | |
} | |
public List<String> getHobbies() { | |
return hobbies; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment