Question: Which of the following statements is incorrect?

Options

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() .

Click to view Correct Answer

Previous || Next

Objects and Classes - General Questions more questions

Which of the following statement is incorrect?

Which of the following statement is correct?

Which of the following function / types of function cannot....

Which of the following statement is correct?

What happens when we try to compile the class definition....

Which of the following statement is correct regarding destructor of....

Which of the following two entities (reading from Left to....

How can we make a class abstract?

Which of the following statements is correct when a class....

Which of the following statements is correct about the constructors....

Constructors and Destructors - General Questions more Online Exam Quiz

Unix - Part 1

Windows 2000 Server - Part 1

Windows NT - Part 1

Constructors and Destructors - General Questions

Functions - General Questions

OOPS Concepts - General Questions

References - General Questions

Arrays - General Questions