I am coding resume system and it should consist of 4 classes with 10 attributes and 5 methods. Can anyone help me with this, | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I am coding resume system and it should consist of 4 classes with 10 attributes and 5 methods. Can anyone help me with this,

public class ContactInfo{ public static void main(String[] args) { int phonenumber; String email; System.out.println("CONTACT INFORMATION"); System.out.println("09519623702"); System.out.println("jhamaicajucal09@gmail.com"); System.out.println(""); } } //Display Personal Data class PersonalData{ public static void main(String[] args){ System.out.println("PERSONAL DATA"); System.out.println("Name:Jhamaica Jucal"); System.out.println("Date of Birth:October 09,2001"); System.out.println("Nationality:Filipino"); System.out.println("Religion: Iglesia ni Cristo"); System.out.println(""); } }

27th Nov 2021, 11:47 AM
Jhamaica Jucal
2 Answers
0
Can you add educational backgorund?
27th Nov 2021, 11:49 AM
Jhamaica Jucal
0
/* I think you need to revisit about what are variables, classes, and objects . and how to use them.. one example of using attributes, methods with a class is : */ class Education { String degree, grade ; int yearPass; void setValues(String d, String g, int y) { degree=d; grade=g; yearPass=y; } String getValues() { return "Degree: "+degree+" Grade : "+grade+ " Pass out: " + yearPass; } /* this will set 3 attribute values by a method setValues , and return all 3 values in a string farmat by calling getValues(); //through an object ,you can set and get values by methods , for any number of times* .. */
27th Nov 2021, 2:52 PM
Jayakrishna 🇮🇳