TATA ELXSI Interview Question

I gave Interview for software developer for Java. Interview went for 1 hour and I was asked questions on all topics in core Java . Question 1 : what is use of Encapsulation. Questions 2: what is difference between synchronisation block and Synchronisation method and which is better.