Hexaware Technologies Interview Question

Pattern programming/ oops concepts/ java basic