Question: Create a class named Candle for a candle - making business. Include data fields for color ( color ) , height ( height ) ,
Create a class named Candle for a candlemaking business. Include data fields for color color height height and price price Create get methods for all three fields. Create set methods for color and height, but not for price. Instead, when height is set, determine the price as $ per inch.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
