Monsters University Java • Reliable & Full
Professor Clawson loomed behind him. “Raw types, Wazowski? Unchecked casts? In my lab?” He took a long sip of coffee. “That’s a C-minus approach. Use generics or go home.”
He added a main method:
Mike started over. He wrote a simple Child class with just three fields: name , age , fearIndex . He wrote a Scarer interface with one method: void scare(Child c) . Then he wrote a single implementation: SulleyScarer . monsters university java
Mike’s eye twitched. “But it works , Professor.” Professor Clawson loomed behind him