Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #54.9K
public class Date { private int _day; private int _month; private int _year; boolean checkDate=true; public Date(int day,int month,int year) { if ((day>31)||(day<1)) { System.out.println("You entered a wrong day"); checkDate=false;} else if ((month>12)||(month<1)) { system.out.println("You entered a wrong month"); checkDate=false;} if (checkDate=true) { _day=day; _month=month; _year=year; } } public Date() … |