HI everyone!I am a beginner in java and i need your help,please if u can help me
i have write this code :
package person;
public class person {
private String Name;
private String Birthday;
public person (String name,String birthday)
{
super ();
Name=name;
Birthday=birthday;
}
public String getName()
{
return Name;
}
public void setName(String name)
{
Name=name;
}
public String getBirthday()
{
return Birthday;
}
public void setBirthday(String birthday)
{
Birthday=birthday;
}
}
i have write this code and i want a program that implement a class Person,and the data of the class person are name and birthday and then i ought to use get and set methot for consult and change the information of person...i have write this cod in java but when i compile it i dont take any result..can enyone can tell me what i ought to do??please
best regards dhija 22