Solved Problem #1: (30 pts) (a) Implement (in Java) the | Chegg.com

Solved Problem #1: (30 pts) (a) Implement (in Java) the | Chegg.com