Hackerrank Java Instanceof keyword Solution
The Java instanceof operator is used to test if the object or instance is an instanceof the specified type.
In this problem we have given you three classes in the editor:
* Student class
* Rockstar class
* Hacker class
In the main method, we populated an ArrayList with several instances of these