Please help

I am getting these three errors and I cant pinpoint what the problem is.

Here are the errors:

A:\Chapter04\Tuition.java:79: class expected

tuition = double.parseDouble(calcTuition);

^

A:\Chapter04\Tuition.java:79: incompatible types

found: java.lang.Class

required: double

tuition = double.parseDouble(calcTuition);

^

A:\Chapter04\Tuition.java:80: calcTuition(int,double) in Tuition cannot be applied to (double)

tuition = calcTuition(hours * rate);

^

3 errors

Tool completed with exit code 1

Here's the snip of code where the errors are:

[code]

public static double calcTuition(int hours, double rate)

{

//Declare variables

double calcTuition, tuition;

{

tuition = double.parseDouble(calcTuition);

tuition = calcTuition(hours * rate);

}

//Return a value to main

return tuition;

}

Thanks for your continued guidance and expertise.

[1011 byte] By [purphazze_java_novice] at [2007-9-30 20:38:01]
# 1
Because double is the java primitive floating-point data type. You want to use Double which is the java.util encapsulation of the primitive double type.
Ivar_Svendsen at 2007-7-7 1:27:17 > top of Java-index,Java Essentials,Java Programming...