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: What was a key factor driving ad strength despite macroeconomic issues?
Ans: Reduced consumer spending
Ans: Reduced consumer spending
Q: On January 28, 2025, a multi-layering clothing system designed by DRDO, named as HIMKAVACH, was launched. What is its special feature?
Ans: Protection from +20°C to -60°C
Ans: Protection from +20°C to -60°C
Q: The sex of developing crocodilians is determined by what during incubation?
Ans: the temperature of the eggs
Ans: the temperature of the eggs
Q: A pregnant patient develops gestational diabetes. Which intervention is first-line?
Ans: Dietary modification
Ans: Dietary modification
Q: What indicates a failing thermostat in a vehicle?
Ans: Engine overheating
Ans: Engine overheating
Q: What are polymers of amino acids called?
Ans: polypeptides
Ans: polypeptides
Q: Which country first used poison gas in World War I?
Ans: Germany
Ans: Germany
Q: What is the fine for not carrying a PUC certificate?
Ans: ₹10,000
Ans: ₹10,000
Q: Which modern vaccine prevents diphtheria?
Ans: DPT
Ans: DPT
Q: Which organism is most commonly associated with pyelonephritis in pregnancy?
Ans: Escherichia coli
Ans: Escherichia coli
Q: How many jobs did private-sector employers add in Jan-Feb 2025?
Ans: 250,000
Ans: 250,000
Q: What should a driver do at a “No Overtaking” sign?
Ans: Avoid overtaking
Ans: Avoid overtaking
Q: What is the function of the fuel filter in a vehicle?
Ans: Removes impurities from fuel
Ans: Removes impurities from fuel
Q: What once most common bird in north america became extinct in the 1800s?
Ans: the rock penguin
Ans: the rock penguin
Q: As of May 9, 2024, which country leads globally in remittances?
Ans: India
Ans: India
