Creating an application for various size candles

Apr 14th, 2014
DreamIt
Category:
Computer Science
Price: $15 USD

Question description

DemoCandles.javaCandle.javaCandle.javaScentedCandle.javaCould someone tell me file:///Users/sherry/Desktop/DemoCandles.java why my program is not running:  Create a Candle.java that contains fields for color, height, and price using get methods in all three fields.  Set method for color and height, but no price. When height is set, determine the price as $2 per inch. Create Scented additional field name scent and methods to get and set. Override parent's setHeight() method to set price of ScentedCandle to $3 per inch. Write an application that instantiates an object of each type and displays details.  I have attached all 3 programs since they coincide with each other.  I do not know why it is not running, please fix my errors.

Tutor Answer

(Top Tutor) Daniel C.
(997)
School: Rice University
PREMIUM TUTOR

Studypool has helped 1,244,100 students

5 Reviews


Summary
Quality
Communication
On Time
Value
ashleyisgod
Nov 30th, 2016
" Top quality work from this guy! I'll be back! "
Molly_Moon
Nov 7th, 2016
" AMAZING as always! "
Hemapathy
Oct 16th, 2016
" all I can say is wow very fast work, great work thanks "
BlueOcean
Oct 2nd, 2016
" Awesome! Exactly what I wanted. "
kevin12622
Sep 23rd, 2016
" Goes above and beyond expectations ! "
Ask your homework questions. Receive quality answers!

Type your question here (or upload an image)

1828 tutors are online

Brown University





1271 Tutors

California Institute of Technology




2131 Tutors

Carnegie Mellon University




982 Tutors

Columbia University





1256 Tutors

Dartmouth University





2113 Tutors

Emory University





2279 Tutors

Harvard University





599 Tutors

Massachusetts Institute of Technology



2319 Tutors

New York University





1645 Tutors

Notre Dam University





1911 Tutors

Oklahoma University





2122 Tutors

Pennsylvania State University





932 Tutors

Princeton University





1211 Tutors

Stanford University





983 Tutors

University of California





1282 Tutors

Oxford University





123 Tutors

Yale University





2325 Tutors