An overloaded operator class member function is convenient for:

A. comparing two objects of the same class.
B. initializing variables in an object.
C. ensuring that data hiding has been performed.
D. adding two objects that are not related.

A

Computer Science & Information Technology

You might also like to view...

Is an exception an object? Explain.

What will be an ideal response?

Computer Science & Information Technology

Write a Java statement that uses a Graphics object to display “Hello World” at position 50, 100.

What will be an ideal response?

Computer Science & Information Technology