Magyar Telekom Interview Question

Basic stuff from java current