Question
Asked by:
USNAVYET
USNAVYET
Rating (6): A
Questions Asked: 14
Tutorials Posted: 35, earned $275.87
 

$5.00 Java help

  • From Computer-Science: Compilers
  • Closed, but you can still post tutorials
  • Due on Oct. 20, 2009
  • Asked on Oct 17, 2009 at 1:20:48PM
Q:

Provide complete code for a Java class Employee with the following class members:

instance fields: name (String type), salary (double type)

constructor:  initializing the instance fields with user provided parameters

methods:

  • getSaraly() //returns the salary of this employee;
  • getName() //returns the name of this employee;
  • setSaraly(double newSalary) //sets the salary of this employee equal to newSalary ;
 


   
   
   
   
 
Available Tutorials to this Question
Posted by:
rwh4236
rwh4236
Rating : No Rating
Questions Asked: 0
Tutorials Posted: 2, earned $0.00
 

$5.00 Employee Class

  • This tutorial hasn't been purchased yet.
  • Posted on Oct 17, 2009 at 2:38:17PM
A:
Preview: ... y; Public double getSalary() { Return salar ...

The full tutorial is about 17 words long .
Posted by:
santhanamk
santhanamk
Rating (11): A+
Questions Asked: 0
Tutorials Posted: 109, earned $71.15
 

$5.00 Solution attached

  • This tutorial hasn't been purchased yet.
  • Posted on Oct 17, 2009 at 2:39:54PM
A:
Preview: ... have any ...

The full tutorial is about 9 words long plus attachments.

Attachments:
Employee.java (0K) (Preview)
Posted by:
chetan2009
chetan2009
Rating (146): A
Questions Asked: 0
Tutorials Posted: 464, earned $2,832.42
 

$2.50 Compiled and tested. Self explpanatory. A++ guranteed

  • This tutorial hasn't been purchased yet.
  • Posted on Oct 18, 2009 at 03:11:44PM
A:
Preview: ...   public String getName(){         return name;     }     public void SetSalary(Double s ...

The full tutorial is about 55 words long .
Posted by:
modulo51
modulo51
Rating (110): A-
Questions Asked: 1
Tutorials Posted: 353, earned $2,117.64
 

$4.00 Java, Employee class with 1 constructor, 2 get methods, 1 set methods, UseNotes.

  • This tutorial hasn't been purchased yet.
  • Posted on Oct 18, 2009 at 3:30:19PM
A:
Preview: ... .name = new String(nameIn);         this.salary = salaryIn;     }     // get or accessor methods:     public String ...

The full tutorial is about 70 words long plus attachments.

Attachments:
Employee.java (0K) (Preview)
EmployeeUseNotes.txt (1K) (Preview)
Posted by:
 

$2.00 Employee Class in Java

  • This tutorial hasn't been purchased yet.
  • Posted on Oct 19, 2009 at 2:56:07PM
A:
Preview: ... ass of Employee as you r ...

The full tutorial is about 21 words long plus attachments.

Attachments:
Employee.java (0K) (Preview)
Employee.java (0K) (Preview)
   
Join Now or Log In
Get Tutoring
Get Paid
Academic Honesty