Question: Idensity the error that exist in this method program: public steric vald f ( doubin oasic, dowble hour ) double extra; Tibasic > - 1

Idensity the error that exist in this method program:
public steric vald f(doubin oasic, dowble hour) double extra;
Tibasic >-1000)
extra = basic+ hour ?**0.3;
else point 2000
exth = basic'hour 0.4 ;
eise
extra-basic'hour'0.5;
return extra;
Your answer:
Wrong method header
Variable extra is unkrioun
A wrong use of hour data type
No error
 Idensity the error that exist in this method program: public steric

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!