I need some help with my java question. And im kinda stuck... I have done some parts but I cant get em to work with eachother.... any can help me please...
I do no this answer...!!!!! Please Can U HeLp me..... Email Me..!!!!
Define a class called Month. Your class will have one attribute of type int to represent a month (1 for January, 2 for February, and so forth). Include all the
following methods in this class:
(a) a constructor to set the month using the first three letters in the name ofthe month as three arguments (‘J’ ‘A’ ‘N’ for January, ‘F’ ‘E’ ‘B’ for February, and so forth),
( a constructor to set the month using an integer as an argument (1 for January, 2 for February, and so forth),
Test your class in a new program which has the main() method.
java question mark
Page 1 of 1
1 Replies - 706 Views - Last Post: 04 March 2010 - 10:52 AM
Replies To: java question mark
Re: java question mark
Posted 04 March 2010 - 10:52 AM
We will be happy to help you with code you wrote, but we will not do your homework for you. Also, we prefer to work in the forums so that everyone can benefit and use the thread as a reference months and years from now. By emailing you the answer, others couldn't benefit.
Page 1 of 1