Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!.POSTED!not-for-mail From: Lew Newsgroups: comp.lang.java.programmer Subject: Re: Needs help in editing Date: Sun, 26 Jun 2011 13:40:53 -0400 Organization: albasani.net Lines: 59 Message-ID: References: <1021f122-3898-4fc9-93ed-ac1aa9403b82@q15g2000yqk.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.albasani.net /JVqBCjS9YxopgTvs2bT5y7JeQcDeNToFNUz3fPoK/q4Z5cOtFT46scq7040uh2JtQVEg8Gzphl576cfquK/PbMTtEhd6oZJ0VnVxJkUo7I8ordgIgCztyhyzqo7Yo28 NNTP-Posting-Date: Sun, 26 Jun 2011 17:40:50 +0000 (UTC) Injection-Info: news.albasani.net; logging-data="s1RKMI0Qd/QQQv9JP0YX+rm0tCQuPqFdxIY/JEXIpm8a18rL3TOAPluJcfZWkaDgMge/WgugmOYhmyMIm933wXadfHzv0I5ce2qKx6HmRLVVdPdgQ663ucN4jwVaK9/h"; mail-complaints-to="abuse@albasani.net" User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110424 Thunderbird/3.1.10 In-Reply-To: Cancel-Lock: sha1:265tpWF8UWG2rfYpJZmoVx4ZHxE= Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:5679 William Colls wrote: > I think we are being asked to someone's school assignment. Better he does it > himself. > PLEASE do not top-post. The OP showed us what he's starting with and asked for _help_, not to "" his assignment. (I assume your missing verb is "do".) So let's give him some help, if that's OK with you, O Snarky One? > On 11-06-23 02:25 PM, Eric wrote: >> Hi guys: Can any one please help me how to i [sic] do the changes in my >> program according to the following 4 changes. >> >> 1) Create a Date type birth data instance field in the Employee class, >> not a String Do you know how to declare a variable to be of a certain type? It's done like this: SomeType variable; Do you know where the 'Date' type is in the standard Java API? Do you know how to declare instance members? >> 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 Do you know how to pass arguments to a constructor? It's very similar to how to pass arguments to a method. >> 3) Input from the user for the 5 specific employees and then comment >> out the hardcoding for the 4 employees in the original code Do you have your class notes on how to get input? >> 4) Report monthly salary amounts and include the November birthday >> bonus Do you have your class notes on how to present output? -- Lew Honi soit qui mal y pense. http://upload.wikimedia.org/wikipedia/commons/c/cf/Friz.jpg