1.

Which of the following statements is correct?A.Data items in a class must be private.B.Both data and functions can be either private or public.C.Member functions of a class must be private.D.Constructor of a class cannot be private.

Answer»

ʜᴇʟʟᴏ ᴅᴇᴀʀ....

✔✔✔✔✔✔✔✔✔✔✔

ʙ. ʙᴏᴛʜ ᴅᴀᴛᴀ ᴀɴᴅ ғᴜɴᴄᴛɪᴏɴs ᴄᴀɴ ʙᴇ ᴇɪᴛʜᴇʀ ᴘʀɪᴠᴀᴛᴇ ᴏʀ ᴘᴜʙʟɪᴄ.

ᴄᴏʀʀᴇᴄᴛ ᴀɴꜱᴡᴇʀ......



Discussion

No Comment Found