Technical Discussion :: C++
Home > Freshers > Technical Interview Questions > C++
82. What are the uses of interface classes?
Answer:
i. A major use of interface function is to adjust the interface to match users exceptions better, thus moving code that would have been scattered throughout a user's code into an interface.
ii. An interface class that controls access to another class or adjusts its interface and is sometimes called as a wrapper.
iii. Interface classes are to provide checked or restricted interfaces.
Asked In :: iGate Virtusa
i. A major use of interface function is to adjust the interface to match users exceptions better, thus moving code that would have been scattered throughout a user's code into an interface.
ii. An interface class that controls access to another class or adjusts its interface and is sometimes called as a wrapper.
iii. Interface classes are to provide checked or restricted interfaces.
ii. An interface class that controls access to another class or adjusts its interface and is sometimes called as a wrapper.
iii. Interface classes are to provide checked or restricted interfaces.