Objects and Classes

Q1: Which of the following statements is incorrect?

A Friend keyword can be used in the class to allow access to another class.

B Friend keyword can be used for a function in the public section of a class.

C Friend keyword can be used for a function in the private section of a class.

D Friend keyword can be used on main().

ANS:D - Friend keyword can be used on main().

No answer description is available. Let's discuss.



img not found
img

For help Students Orientation
Mcqs Questions

One stop destination for examination, preparation, recruitment, and more. Specially designed online test to solve all your preparation worries. Go wherever you want to and practice whenever you want, using the online test platform.