English, asked by VampireKiss, 7 hours ago

Can we call a virtual function from a constructor?​

Answers

Answered by baliyansameer7
4

Explanation:

You can call a virtual function in a constructor, but be careful. ... In a constructor, the virtual call mechanism is disabled because overriding from derived classes hasn't yet happened. Objects are constructed from the base up, “base before derived”.

Answered by karishmakasarlawar51
8

Answer:

Hope that helps you

Explanation:

Mark my answer in brainlist

Attachments:
Similar questions