hamburger

How is Late Binding Implemented in C++?

By BYJU'S Exam Prep

Updated on: September 25th, 2023

How is Late Binding Implemented in C++?

  1. Using C++ tables
  2. Using Virtual tables
  3. Using Indexed virtual tables
  4. Using polymorphic tables

Answer: B. Using virtual tables

Late Binding is Implemented in C++ using virtual tables.

Solution

The virtual table, a unique kind of late binding, is used to implement virtual functions in C++. The virtual table is a lookup table of functions that are used to dynamically or late bind function calls. Other names for the virtual table include vtable, virtual function table, virtual method table, and dispatch table.

Therefore, the late binding is implemented in C++ using virtual tables.

☛ Related Questions:

Our Apps Playstore
POPULAR EXAMS
SSC and Bank
Other Exams
GradeStack Learning Pvt. Ltd.Windsor IT Park, Tower - A, 2nd Floor, Sector 125, Noida, Uttar Pradesh 201303 help@byjusexamprep.com
Home Practice Test Series Premium