Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!ecngs!feeder.ecngs.de!Xl.tags.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!local2.nntp.ams.giganews.com!nntp.bt.com!news.bt.com.POSTED!not-for-mail NNTP-Posting-Date: Thu, 23 Jun 2011 17:42:23 -0500 From: rossum Newsgroups: comp.lang.java.programmer Subject: Re: Needs help in editing Date: Thu, 23 Jun 2011 23:42:10 +0100 Message-ID: References: <1021f122-3898-4fc9-93ed-ac1aa9403b82@q15g2000yqk.googlegroups.com> X-Newsreader: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 44 X-Usenet-Provider: http://www.giganews.com X-AuthenticatedUsername: NoAuthUser X-Trace: sv3-1dDY4ygRhXsgxjxlTV7JMC40Yqub8C/Stu2pR4fx61mF0y9CUQb6BxvoAyxtepu7BUfuWkYKZRalact!IPxWoHEfatCTOvB+x9f4HQulL2dxAsyhBhx/8rHzigDNURE1AgfuavFojeKe2WJqa3rofH0RI5jI!H32Grg== X-Complaints-To: abuse@btinternet.com X-DMCA-Complaints-To: abuse@btinternet.com X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 2822 Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:5609 On Thu, 23 Jun 2011 11:25:01 -0700 (PDT), Eric wrote: >Hi guys: Can any one please help me how to i do the changes in my >program according to the following 4 changes. We can certainly tell you, but it is much better if you do your homework yourself. That way you are more likely to learn what you need to learn. > >1) Create a Date type birth data instance field in the Employee class, >not a String What precisely is your problem with this? Do you have a problem with declaring a new type in your Employee class? Please be specific. > >2) Enlarge the constructors for the Employee class and subclasses to >pass the int month, int day, and int year of the birth date as input >by the user to PayrollSystemTest to the subclass constructor, and then >to the Employee class constructor What precisely is your problem with this? Do you have a problem with adding new parameters to existing constructors? Please be specific. > >3) Input from the user for the 5 specific employees and then comment >out the hardcoding for the 4 employees in the original code What precisely is your problem with this? Do you have a problem with modifying your existing input code to input the required data from the used while comenting out the specified lines? Please be specific. > >4) Report monthly salary amounts and include the November birthday >bonus What precisely is your problem with this? Do you have a problem with amending the output from the report? Please be specific. [code snipped] Take your best shot and show us the result. The more you do for yourself the more we will help you with the parts you really cannot manage. rossum