Why do you not get an undefined reference in virtual table error when you don’t define a pure virtual function?
What will be an ideal response?
Because you write the member function without a body and you cannot
create an object of the class that contains a pure virtual function. Its body is
replaced by =0.
You might also like to view...
________ is s method reference for a static method of a class. It creates a one-parameter lambda in which the lambda’s argument is passed to the specified a static method and the lambda returns the method’s result.
a. Math::sqrt b. System.out::println c. TreeMap::new d. String::toUpperCase
Which of the following is NOT a PowerPoint View element?
a) Timer b) Navigation buttons c) Pen tools d) Animation tools.
Suppose the bus between memory and secondary storage is experiencing heavy page traffic.Does this imply thrashing? Explain.
What will be an ideal response?
Programmers usually insert each new tag at the end of a line.
Answer the following statement true (T) or false (F)