OpenTable interview question

Basic Java qns, easy coding qns as well and some REST API design