"Dead Objects"?

My strategy: If the compiler doesn’t like it in the main method, do it in an object instead. ;D