KNOW THE COMMON PITFALLS!! Like the following.
Type conversion errors - refer to 2019 FRQ #2 and 2018 FRQ #1(b). In these questions, you have things like
- public class SomeClass{
- public int someData;
- public int someOtherData;
- /* some constructor things */
- /** Returns the ratio between someData and someOtherData */
- public double someMethod(){
- // does something
- return ___________;
- }
- }