ANZ interview question

Simple OOPS concepts and Threading questions