Publicis Sapient Interview Question

difference between wait and sleep? what does get method of future do? what are semaphores etc?