Python Classes - Class Interface and Abstract Data Type ADT - With Code Examples - Learn to Program

preview_player
Показать описание
A class interface lists the methods available to create, modify, or access a class instance

Some methods may only be used internally by a class, and those methods typically start with an underscore

Abstract data type (ADT) – a data type constrained to a class interface

Python lacks information hiding capabilities of other programming languages, because you cannot make methods private

Subscribe to Appficial for more programming videos coming soon. Also, don't forget to click LIKE and comment on the video if it helped you out!
Рекомендации по теме
join shbcf.ru