Professional Documents
Culture Documents
Explain List with example. Also explain all the features of List.
What is class and object? Write syntax to create a class and declaring object.
Write a program in python to create employee class having method show to display
the employee name, age, salary and address.
What is abstract class? WAP to create a Shape abstract class having draw() method
and having three subclasses.
Explain the concept of operator overloading. WAP to overload ‘+’ and ‘<’ operator.
What is exception? Write the main components of exceptional handling. WAP to show
exception handling with at least two except block.