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: Intraspecific competition occurs between members of the same what?
Ans: species
Ans: species
Q: A patient with eclampsia requires medication. Which is first-line?
Ans: Magnesium sulfate
Ans: Magnesium sulfate
Q: Which modern drug is an example of an expectorant?
Ans: Guaifenesin
Ans: Guaifenesin
Q: According to Sushruta, which Basti is indicated for Amlapitta?
Ans: Ksheera Basti
Ans: Ksheera Basti
Q: Which country appointed Xu Feihong as its new ambassador to India?
Ans: China
Ans: China
Q: What is the main cause of tides in the ocean?
Ans: Moon’s gravity
Ans: Moon’s gravity
Q: What is telomere shortening associated with?
Ans: changing
Ans: changing
Q: Which country launched e-Visa only for Indian tourists?
Ans: Japan
Ans: Japan
Q: What was a key issue driving negative global perceptions of the U.S.?
Ans: Environmental policies
Ans: Environmental policies
Q: Which state government has launched Phase-1 of 'Indiramma Awas Yojana' on December 5, 2024?
Ans: Telangana
Ans: Telangana
Q: Which Indian city is famous for its silk industry in Bihar?
Ans: Bhagalpur
Ans: Bhagalpur
Q: Who tops the national ranking of higher education institutions?
Ans: IIT Madras
Ans: IIT Madras
Q: Which country celebrated its Independence Day on 17th August?
Ans: Indonesia
Ans: Indonesia
Q: What sort of walls are helpful for keeping a slope stable?
Ans: managing walls
Ans: managing walls
Q: Where did Prime Minister Modi announce the opening of the Indian Consulate?
Ans: Boston and Los Angeles
Ans: Boston and Los Angeles
