Then he had an epiphany.
Terror level: 100
He typed:
“Wazowski. You finally stopped writing academic Java and wrote real Java.” He tapped the screen. “KISS principle. Keep It Simple, Scarer. You pass.” monsters university java
They clinked mugs. Outside, the MU moon shone down on the School of Scaring—where the only thing more powerful than a good roar was a well-written public static void main . Then he had an epiphany
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 . “KISS principle
Sulley, meanwhile, had just finished a lambda expression so beautiful that another student, a tentacled monster named Squishy, started crying tears of joy.