How does virtual functions work behind the scenes in Inheritance ? Does the compiler treat virtual functions specially ?
'Virtual' is a C++ term. There are no virtual methods in Java. There are ordinary methods, which are runtime-polymorphic, and static or final methods, which aren't.