Encapsulation and abstract method in python

technical talkiess
0

 Encapsulation and abstract method:- 


# encapsulation :- Implementation ki details ko hide karna...

#abstract method :- Tukdo me bat dena .... city alag method se aye .... aur score alag function se ayenga


Additional info

Encapsulation: combining all the attributes and the methods that the class needs under one umbrella (class itself) makes your code easy to maintain. 


Abstraction: hiding away the implementation details from the external user which makes your code easy to be shared with other developers.



Post a Comment

0Comments

Thanks you for commenting your questions. I will see question and respond you.

Post a Comment (0)