Question: for A Java programmer is writing the following interface for the video game Overwatch. There are some errors within the code! Identify which parts have


for A Java programmer is writing the following interface for the video game Overwatch. There are some errors within the code! Identify which parts have errors. There are some public interface FLYING_CHARACTER // constant declarations public static final double GRAVITY -9.8; // one method public double getHeightO // formula to calculate height goes here (Note: you do not need to know how the game works - these errors are common Java errors!) On Moodle: SELECT ALL THAT APPLY. Select one or more: a. error in declaring the constant b. error in the method c. error in the interface header d. poor naming conventions/programming practice/style
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
