Nerve Solutions interview question

Basic question about OOPs. Socket Programming