You are given a class hierarchy consisting of three classes. The base class is Employee. The first subclass is Developer, the second subclass is DataAnalyst.
Implement a method determineWhoIsWho. The method takes an array of employees. Each element belongs to one of the listed classes. The method should output the type (DEV, EMP or DA) of each element in a new line.
Use the provided template for your method.
Output example
DEV
EMP
DA