Question
Consider the following statements about the main
reasons for the excessive cold in north India during the cold weather season and identify which of the statements are correct. 1.States like Punjab, Haryana and Rajasthan, being far away from the moderating influence of sea, experience continental climate. 2.The snowfall in the nearby Himalayan ranges creates a cold wave situation. 3.Around February, the cold winds coming from the Caspian Sea and Turkmenistan bring a cold wave along with frost and fog over the northwestern parts of India.Solution
The correct answer is C
The bundling of data (attributes) and methods (functions) that operate on the data into a single unit (class), and restricting direct access to some of ...
An abstract class:
The ability of an object to take on many forms, or the ability of a single interface to represent different underlying forms, is known as:
What is the main purpose of an interface in OOP?
Which access modifier restricts access to a class member only within the class itself and its derived classes?
Which type of polymorphism is achieved through method overloading (where multiple methods have the same name but different parameters)?
What is a "method" in the context of OOP?
Which of the following is a common way to achieve abstraction in OOP?
What is a key benefit of encapsulation?
In Python, if you want to call the constructor of a parent class explicitly, which method do you use?