โ† HSBC questions

Virtual functions and Polymorphism in C++ and Java

Filed under HSBC

The question

Explain virtual functions, the difference between virtual and pure virtual functions, types of polymorphism, inheritance, and types of inheritance in Java.

No write-up yet. Related questions below have one.

Related HSBC questions

Collected from public candidate posts and coding forums. Updated Nov 2026.