Pregunta de entrevista de IBM

What is encapsulation? difference between python and java