java question mark

joaena,,

Page 1 of 1

1 Replies - 687 Views - Last Post: 04 March 2010 - 10:52 AM Rate Topic: -----

#1 Joaena  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 04-March 10

java question mark

Posted 04 March 2010 - 10:38 AM

Hi Friend..
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... :001_icon16:

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),

(B) 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.

Joaena...

Is This A Good Question/Topic? 0
  • +

Replies To: java question mark

#2 macosxnerd101  Icon User is offline

  • Games, Graphs, and Auctions
  • member icon




Reputation: 11989
  • View blog
  • Posts: 44,795
  • Joined: 27-December 08

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.

[rules][/rules]
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1