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),
(
Test your class in a new program which has the main() method.
Joaena...

New Topic/Question
This topic is locked



MultiQuote





|