Question: Please highlight and fix 2 syntax errors in the following code. Please also find one logical error in the code? What can cause a

Please highlight and fix 2 syntax errors in the following code. Please also find one logical error in the code? What can cause a runtime error in the code? Package hw; public class TestClass { public void compute AnnualSalary (double monthly) { return 10 monthly; } public boolean test (double c) { double b = 25.8/c; if (b>10) { return false; }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
