Question
In C++, if a base class has a virtual function, and a
derived class overrides that function, which mechanism ensures that the correct derived class function is called at runtime, even when accessed via a base class pointer?Solution
Answer: C) Dynamic Binding (Polymorphism)
Which command is used to remove all records from a table without deleting the table structure?
Which SQL keyword is used to sort the result set?
The result of a Cartesian product of two relations R and S will have:
Which of the following statements about abstract classes is true?
Which OOP principle allows a single interface to represent different underlying forms or data types?
Which of the following is the correct definition of 'polymorphism' in Object-Oriented Programming?
What is early binding in the context of OOP?
Which of the following is true about a view in SQL?
Which of the following is a valid constraint in SQL?
Which of the following prevents inheritance in C++?