I hope this is the right place for this. Ok I am studying for a final test in my java class (groan). I have been trying to run through all of the codes in chapter 8 of Java How to Program 6th edition and I have hit the wall on 8.16. Here are the books requirements: (Date Class) Create class Date with the following capabilities:
Output the date in multiple formats, such as
MM/DD/YYYY June 14, 1992 DDD YYYY
Use overloaded constructors to create Date objects initialized with dates of the formats in part (a). In the first case the constructor should receive three integer values. In the second case it should receive a String and two integer values. In the third case it should receive two integer values, the first of which represents the day number in the year. [Hint: To convert the string representation of the month to a numeric value, compare strings using the equals method. For example, if s1 and s2 are strings, the method call s1.equals( s2 ) returns true if the strings are identical and otherwise returns false.]
If anyone could help me with this code or has the code so I can take a look at it I would be extremely grateful. I want to stress that this is not homework and I am not asking for someone to help me cheat. Thanks in advance for any help, and if this is the wrong place to post let me know.
Joined: Aug 05, 2005
This is probaly the right place - just as it was for your original post of this question.