What is the main purpose of inheritance in OOP?
- Correct Answer: Programming
- To establish a parent-child relationship between classes
- To create instances of classes
- To prevent data abstraction
Explanation: To define exceptions
More Random Questions
Q: According to Sushruta, which Basti is indicated for Vataja Shodha?
Ans: Anuvasana Basti
Ans: Anuvasana Basti
Q: What is the process in which unspecialized cells become specialized in structure and function to perform certain tasks in the body?
Ans: differentiation
Ans: differentiation
Q: Which of the following is a complication of excessive Vamana?
Ans: Raktasrava
Ans: Raktasrava
Q: Who topped the 'Global City Index 2024'?
Ans: Dubai
Ans: Dubai
Q: To which country has India sent 2200 metric tonnes of rice?
Ans: Myanmar
Ans: Myanmar
Q: Who led the Quit India Movement in 1942?
Ans: Mahatma Gandhi
Ans: Mahatma Gandhi
Q: According to Charaka, which of the following is a Hetu of Kustha?
Ans: Mithya Ahara
Ans: Mithya Ahara
Q: Who is widely known as the father of genetics?
Ans: gregor mendel
Ans: gregor mendel
Q: Who was the first Chief Minister of Bihar post-independence?
Ans: Sri Krishna Sinha
Ans: Sri Krishna Sinha
Q: What is the third class of elements after metals and nonmetals?
Ans: metalloids
Ans: metalloids
Q: What two things limit primary production in aquatic ecosystems?
Ans: light and nutrients
Ans: light and nutrients
Q: What percentage of Americans said the economy was getting worse in March 2025?
Ans: 48%
Ans: 48%
Q: What is the rule for driving near a pedestrian crossing?
Ans: Stop for pedestrians
Ans: Stop for pedestrians
Q: Who topped the Hurun Philanthropy List 2024?
Ans: Shiv Nadar
Ans: Shiv Nadar
Q: What is the term for the layer of gases surrounding the Earth?
Ans: Atmosphere
Ans: Atmosphere
