Computer Science · Object Oriented Programming
Which of the following statements is TRUE regarding object-oriented programming?
- 1Referring to a derived-class object with a base-class handle is dangerous.
- 2All virtual functions in an abstract base class must be declared as pure virtual functions.
- 3A class is made abstract by declaring that class virtual.
- 4Polymorphic programming can eliminate the need for switch logic.✓
Correct answer
Polymorphic programming can eliminate the need for switch logic.
Download Single Question PDF
Save this question and verified answer as a clean study sheet with live clickable link.
Share with Friends & Study Groups
Challenge your peer aspirants on WhatsApp or Telegram to solve this question!
Preparing for Computer Science?
Practice full-length mock tests with real exam timers, instant score analysis, and all-India ranking.
Want more practice questions on Object Oriented Programming?
Solve complete topic-wise tests with detailed solutions on GkGet.
Related Practice Questions
Recommended practice questions in Computer Science · Object Oriented Programming