Hi All
I am finding problem in doing exercise no 10 in LAB-1023 Java Inheritance
I did create method "computeSpecialCustomerPrice()" in Product.java by
---
public double computeSpecialCustomerPrice(double compsp ) {
return 0;
}
------------
And in TV.java
I did
----
public double computeSpecialCustomPrice(double sprice ){
sprice = this.sprice;
sprice = computeSalePrice();
sprice = sprice - 100;
return sprice;
}
----
but always by sprice "sprice" value is returning '0'
Guidance and advice requested.
Thanks
Joseph John
--
You received this message because you are subscribed to the Google Groups
"JPassion.com: Java Programming" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
Visit this group at http://groups.google.com/group/jpassion_java.
For more options, visit https://groups.google.com/groups/opt_out.