@Data
@AllArgsConstructor
public class Profile {
private String name;
private List<String> hobbies;
private String reachOut;
public static void main(String[] args) {
var hobbies = List.of("coding", "photography", "blogging");
var thoDev = new Profile("Luu Cao Hoang", hobbies, "lcaohoanq.works");
System.out.println(thoDev);
}
}
Highlights
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.




