self sal= employee count+= def dispemp(self)print(the name is:",self name,"sal is :",self sal#end of the class #creating object emp =employee("ram", emp =employee("raju", #access the member function emp dispemp(emp dispemp(print("the number of employees are:",employee countoutputdata abstraction and hiding through classes data encapsulation is also known as data hiding it is the process of binding the data members and member function together into single unit this encapsulation defines different access levels for members of the class these access levels are specified as followany data or member function with access level "publiccan be accessed by any functions belonging to any class this is the lowest level of protection any data or member function with access level "privatecan be accessed by member functions of the same class in which it is declared this is the highest level of protection in pythonprivate variable are declared with the help of double underscore prefixed to the variable for examplebalanceis the private variable class variable and instance variable class can have variable defined in it basicallythese variables are of two typesclass variables and instance (objectvariable the class variables are always associated with class and instance variables are always associated with object the class variables are shared among all the objects there exists single copy of the class variables any change made to the class variable will be seen by all the objects the instance variables are not shared between objects change made to the instance variable will not reflect in other objects create class name "bankaccountand perform operations like deposit and withdraw from the same account save this class in module named account py and import it in the saving py file (use instance variableaccount py (module page testaccount py