IBM interview question

What is encapsulation? difference between python and java