generallyoop favours separation of internal data structures and implementation from the interface in some programming languages attributes and methods can be defined to be accessible only from other methods of the object in pythoneverything is public leading underscore in method name can be used to suggest "privacyfor the user