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: Which country has launched the world's first 6G device on May 16, 2024?
Ans: Japan
Ans: Japan
Q: What is one thing that cell membranes are permeable to?
Ans: metals
Ans: metals
Q: Where does the Son River originate?
Ans: Amarkantak Plateau
Ans: Amarkantak Plateau
Q: What is the process called in which populations of organisms change over time?
Ans: evolution
Ans: evolution
Q: Which Veda is the oldest?
Ans: Rigveda
Ans: Rigveda
Q: What is the transfer of thermal energy between objects that have different temperatures?
Ans: heat
Ans: heat
Q: In sexual reproduction, the fusion of haploid gametes forms a diploid cell called what?
Ans: gamete
Ans: gamete
Q: In a code where ‘BPSC’ is ‘AORB’
Ans: how is ‘EXAM’ written?
Ans: how is ‘EXAM’ written?
Q: Vatapurna druti Sparsha of joints is lakshana in:
Ans: Sandhigatavata
Ans: Sandhigatavata
Q: Who topped the 65th International Maths Olympiad?
Ans: America
Ans: America
Q: Which country has recognized gay marriage for cross-state couples on 21 September 2024?
Ans: Taiwan
Ans: Taiwan
Q: Where did the multilateral air exercise 'Tarang Shakti 2024' start?
Ans: Tamil Nadu
Ans: Tamil Nadu
Q: According to a report, how many farmers have left PM Kisan Samman Nidhi?
Ans: 11600
Ans: 11600
Q: What are the only type of elements capable of changing into different elements?
Ans: adjacent elements
Ans: adjacent elements
Q: What was the Federal Reserve’s rate cut total expected for 2025 and 2026 combined?
Ans: Four
Ans: Four
