Skip to content

Instantly share code, notes, and snippets.

@coderunner
Created January 14, 2012 02:57
Show Gist options
  • Select an option

  • Save coderunner/1610059 to your computer and use it in GitHub Desktop.

Select an option

Save coderunner/1610059 to your computer and use it in GitHub Desktop.

Revisions

  1. coderunner created this gist Jan 14, 2012.
    15 changes: 15 additions & 0 deletions Employee.java
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,15 @@
    public class Employee {

    public final String name;
    public final int age;
    public final int salary;
    public final float targetBonus;

    public Employee(String name, int age, int salary, float targetBonus) {
    this.name = name;
    this.age = age;
    this.salary = salary;
    this.targetBonus = targetBonus;
    }

    }