emp.java (main method) must include EmpData.java

This source code is intended to show how you are able to use polymorphism and inheritance between class ,and object creation in Java Happy Hacking!!!