Encapsulation in Java is a mechanism of wrapping the data (variables) and code acting on the data (methods) together as a single unit