Swati Saxena

  • DDaudalagidfez uma citaçãohá 2 anos
    Ans.Python has no inbuilt main function to start the execution of the program. Python has special variable __name__; it provides the functionality of the main function.
  • DDaudalagidfez uma citaçãohá 2 anos
    The __del__() method is known as a destructor method in Python. It is called when all references to the object have been deleted.
  • DDaudalagidfez uma citaçãohá 2 anos
    Pillars of OOPs:
    Abstraction: To hide complexity and show which is necessary to a current problem scenario.
    Encapsulation: Combine data of the similar type of objects into a single unit.
  • DDaudalagidfez uma citaçãohá 2 anos
    Polymorphism: Many forms of a single object.
    Polymorphism is of two types:
    Early binding: Example - Overloading
    Late Binding: Example - Overriding
    Inheritance: Use for code reusability, where child (sub) class can use properties of the parent (base) class.
  • DDaudalagidfez uma citaçãohá 2 anos
    The Python os module is used. The OS module in Python provides functions for interacting with the operating system. OS comes under Python’s standard utility modules.
fb2epub
Arraste e solte seus arquivos (não mais do que 5 por vez)