The Artima Developer Community
Sponsored Link

Java Answers Forum
don't understand the problem - using methods

1 reply on 1 page. Most recent reply: May 3, 2003 1:28 PM by Charles Bell

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Big Mama

Posts: 4
Nickname: violet
Registered: May, 2003

don't understand the problem - using methods Posted: May 2, 2003 5:10 PM
Reply to this message Reply
Advertisement
Here is a problem what I have. But I do not even understand it. Can anybody solve this problem? Please help me....^^

@Create a class name Pay hat includes five double variables that hold hours worked, rate of pay per hour,withholding rate, gross pay,and net pay. Create three overloaded computeNetPay() methods.Gross pay is computed as hours worked,multiplied by pay per hour.When computeNetPay receives values for hours,pay rate,and withholding rate,it computes he gross pay and reduces it by he appropriate withholing amoun to poduce th net pay.When computeNetPay() receives two arguments,the withholding rate is assument,the withholing rate is assumed to be 15 percent,and he hourly rate is assumed to be 4.65.Write a main() mthod that tests all three overloaded methods.


Charles Bell

Posts: 519
Nickname: charles
Registered: Feb, 2002

Re: don't understand the problem - using methods Posted: May 3, 2003 1:28 PM
Reply to this message Reply
This is a duplicate post.

This is a duplicate post.

This is a duplicate post.

This is a duplicate post.

This is a duplicate post.
This is a duplicate post.

This is a duplicate post.This is a duplicate post.

This is a duplicate post.This is a duplicate post.This is a duplicate post.


This is a duplicate post.This is a duplicate post.This is a duplicate post.This is a duplicate post.

Flat View: This topic has 1 reply on 1 page
Topic: problem with setVisible(false); Previous Topic   Next Topic Topic: help with an error

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use