AT&T interview question

Mostly technical on Java platform.