Search:

Type: Posts; User: Dysun

Search: Search took 0.09 seconds.

  1. Replies
    4
    Views
    1,461

    Re: Help with beginner mutator method

    It does not alter the value by +10, it merely displays the information without any change whatsoever

    It compiles and executes without issue
  2. Replies
    4
    Views
    1,461

    Re: Help with beginner mutator method

    Well I might as well

    public class Payroll
    {
    private static double totalpayout;
    private String employeeid;
    private int hourlyrate;
    private int hoursworked;

    public...
  3. Replies
    4
    Views
    1,461

    Help with beginner mutator method

    So basically I'm trying to change the value of something by 10, I've written this code but it doesn't appear to work. Any tips?


    public double increaseHours(int x)
    {
    return...
Results 1 to 3 of 3