Which of the following statement is correct regarding destructor of base class?
A.Destructor of base class should always be static.
B.Destructor of base class should always be virtual.
C.Destructor of base class should not be virtual.
D.Destructor of base class should always be private.
Answers
Answered by
6
ʜᴇʟʟᴏ ᴅᴇᴀʀ.....ᴜʀ ᴀɴꜱᴡᴇʀ
✔✔✔✔✔✔✔✔✔✔
ʙ. ᴅᴇsᴛʀᴜᴄᴛᴏʀ ᴏғ ʙᴀsᴇ ᴄʟᴀss sʜᴏᴜʟᴅ ᴀʟᴡᴀʏs ʙᴇ ᴠɪʀᴛᴜᴀʟ.
❤❤❤❤❤❤❤❤❤❤
✔✔✔✔✔✔✔✔✔✔
ʙ. ᴅᴇsᴛʀᴜᴄᴛᴏʀ ᴏғ ʙᴀsᴇ ᴄʟᴀss sʜᴏᴜʟᴅ ᴀʟᴡᴀʏs ʙᴇ ᴠɪʀᴛᴜᴀʟ.
❤❤❤❤❤❤❤❤❤❤
Answered by
4
✨Heya!!!!✌
✍Your answer⬇⬇⬇⬇
⭐(B) Destructor of base class should always be virtual⭐
Hope it helps☑
#Be Brainly
✍Your answer⬇⬇⬇⬇
⭐(B) Destructor of base class should always be virtual⭐
Hope it helps☑
#Be Brainly
Similar questions