nope, im a complete java noob and am just looking to pass a class haha
Type: Posts; User: theoneyouenvy
nope, im a complete java noob and am just looking to pass a class haha
so it would be
public double calculateCharge()
{
return 0;
}
?
I guess how to code it, I have no clue how to do a void return.
So far I have
public double calculateCharge()
{
}
I have an assignment that asks me to write a class:
-------------------------
Computer
-------------------------
-brand:Brand
-price:Double
-quantity:Integer