This principle of OOP mainly says that whatever be the code (methods, properties, variables etc.) written to develop an app should be wrapped into a container called as CLASS. This helps in providing security to the code which is lacking in procedural languages.
Eg: class Hello
{
..........; //Encapsulated class content
}