public class Profile {
String name = "Jalina Jayasinghe";
String role = "Software Engineering Student";
String location = "Sri Lanka";
String[] skills = {
"Java", "Web Development", "Python"
};
String[] interests = {
"Backend Development", "Low-level programming",
"Frontend Development", "DevOps"
};
void print() {
System.out.println(name + " | " + role);
System.out.println("Location: " + location);
System.out.print("Skills: ");
Arrays.stream(skills).forEach(skill -> System.out.print(skill + " "));
System.out.print("Interests")
Arrays.stream(skills).forEach(interest -> System.out.print(interest + " "));
}
}