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: The left atrium receives oxygen-rich blood from which organs?
Ans: liver
Ans: liver
Q: Under which article is the Finance Commission of India constituted?
Ans: Article 280
Ans: Article 280
Q: If a substance has a ph value greater than 7, what does it indicate?
Ans: base
Ans: base
Q: What were Buddhist prayer halls called?
Ans: Chaityas
Ans: Chaityas
Q: Which day is celebrated every year on January 2 all over the world?
Ans: World Introvert Day
Ans: World Introvert Day
Q: What does a blue circle with a white “R” indicate?
Ans: Rest area nearby
Ans: Rest area nearby
Q: What kind of interference characteristics does matter have compared to any wave?
Ans: same
Ans: same
Q: What was the expected impact of tariffs on U.S. smartphone prices in 2025?
Ans: Increase
Ans: Increase
Q: Which material was used for coins in ancient towns?
Ans: Silver
Ans: Silver
Q: Who won the women's singles title at the Miami Open Tennis on March 31, 2024?
Ans: Danielle Collins
Ans: Danielle Collins
Q: Which modern vaccine prevents hepatitis B?
Ans: Hepatitis B vaccine
Ans: Hepatitis B vaccine
Q: What type of feeders are the largest sharks and rays?
Ans: suspension feeders
Ans: suspension feeders
Q: Hot magma beneath the surface mixes with water and forms what?
Ans: gas
Ans: gas
Q: Who became the only player to make a national record in the shot put event on May 14, 2024?
Ans: Abha Khatua
Ans: Abha Khatua
Q: What is the role of the fuel pressure regulator in a vehicle?
Ans: Maintains fuel pressure
Ans: Maintains fuel pressure
