What is the main purpose of inheritance in OOP?

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

Join our channels for latest updates

More Random Questions

Q: How many more releases did Disney plan for Marvel in 2025 compared to 2024?
Ans: One more
Q: In which state has the first gas-based 'Yelhanka Gas Power Plant' been started on 24 September 2024?
Ans: Karnataka
Q: What is the goal of the Jal Jeevan Mission?
Ans: Piped drinking water by 2024
Q: According to Sharanghadhara, the Anupana for Hingwashtaka Churna in Kaphaja disorders is:
Ans: Honey
Q: Displacement is the separation between a beginning position and what other place?
Ans: final position
Q: What is the range of all possible frequencies of radiation called?
Ans: electromagnetic spectrum
Q: What was a major concern for investors regarding tariffs in Feb 2025?
Ans: Lower consumer spending
Q: By the year 2050, 25 percent of the population of the united states will be 60 years of age or older. the cdc estimates that 80 percent of those 60 years and older have one or more chronic disease associated with deficiencies of this?
Ans: blood vessels
Q: What was the core CPI inflation rate in March 2025?
Ans: 2.8%
Q: On May 1, 2024, the foundation day of which state was celebrated?
Ans: Gujarat and Maharashtra
Q: Name the white blood cells that can squeeze through capillary walls and swallow particles.
Ans: neutrophils
Q: Which continent is known as the "Island Continent"?
Ans: Australia
Q: Which fluid is used in a vehicle’s manual clutch?
Ans: Brake fluid
Q: Which country will send an advanced THAAD missile defense system to Israel?
Ans: America
Q: What was the purpose of the Simon Commission boycott in 1928?
Ans: No Indian members
Youngistan Junction
Youngistan Junction

Welcome to Youngistan Junction, your ultimate hub for staying updated with the latest in current affairs, general knowledge, and general studies! Whether you're a student gearing up for exams or just someone passionate about expanding your knowledge, Youngistan Junction is here to provide you with an extensive collection of well-curated questions and answers.

Articles: 6683