Growel Softech Interview Question

basic java questions, error handling, methods