Java assignment

Order Description

All the problems have been done. You only need to add methods to “” to test the added methods and get correct output for each of them. Both problem 1 and 2 need to be tested. Please read "Instruction" for more details. Please contact me if the instruction is not clear.