Explain various oop terminologies with suitable example | |
2. | What is class method? Give proper syntax for explanation |
3. | Explain difference between pop and oop |
4. | Explain the concept of public and private members using proper python program. |
5. | Write short note on: i).class method ii).self object |
6. | List and explain concepts of OOP |
7. | Explain different features of OOPS. |
8. | How to create a class and object? Explain with suitable example. |
9. | Explain class variable and instance with example. |
10. | Write following program using class-
Class ABC__ Def__ init__(self,name): Self.name = name __ display (__): Print(“hello”+__.name) A=ABC(“python”) A.display()
|
11. | Differentiate between public and private variables |
12. | Explain with example the significance of instance method, class method and static method |
13. | write a program using class- Write a program to create class rectangle. Also find area and perimeter of the rectangle when length and breadth values are initiated. |