Operator Overloading and Exception Handling in Python

Publicado el: 07 septiembre 2022
en el canal de: Free Lectures of CSE Courses
23
like

Operator Overloading means giving extended meaning beyond their predefined operational meaning. For example operator + is used to add two integers as well as join two strings and merge two lists. It is achievable because ‘+’ operator is overloaded by int class and str class. You might have noticed that the same built-in operator or function shows different behavior for objects of different classes, this is called Operator Overloading.

An exception is an event, which occurs during the execution of a program that disrupts the normal flow of the program's instructions. In general, when a Python script encounters a situation that it cannot cope with, it raises an exception. An exception is a Python object that represents an error.


En esta página del sitio puede ver el video en línea Operator Overloading and Exception Handling in Python de Duración hora minuto segunda en buena calidad , que subió el usuario Free Lectures of CSE Courses 07 septiembre 2022, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 23 veces y le gustó like a los espectadores. Disfruta viendo!