Can anyone help me with this java problem? Here's the problem:
"Write some code to demonstrate inheritance polymorphism. Create a superclass class with 3 subclasses. The superclass should have a method that prints out a line identifying the current class (something like "I am a Superhero"). Two of the subclasses should override this method to print out a different message (like "I am Wolverine"). Give the superclass a main() method with an array of size 4, typed as the superclass (for example, Monster monsters = new Monster;). Your main() should populate the array with references to 4 objects, each with a different class, and then traverse the array, calling your method on each array component."
I need some idea... dont know where to start though..