Encapsulation in Java binds data and methods into one unit called class while restricting direct access to object data.