Is the following statement true and why An objects interface

Is the following statement true and why? An object\'s interface consists of operations that are available to the public.

DQ2-2 OOAD

Solution

An object\'s interface consists of operations that are available to the public.

Ans:It is true because these operations or methods are useful for accessing member variables of class which are private because private varibales are not available to public and there must be some way to access them hence we provide method for public on object interface.

Is the following statement true and why? An object\'s interface consists of operations that are available to the public. DQ2-2 OOADSolutionAn object\'s interfac

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site