1.

What is the use of inbuilt classes?(a) Provide predefined data(b) Provide predefined functions(c) Provide predefined data and functions(d) Provide predeclared data to be overriddenThe question was asked during an interview.Query is from Class Use topic in division Classes of Object Oriented Programming

Answer»

Right choice is (c) PROVIDE predefined data and FUNCTIONS

Best explanation: The data that is constant or is always the same initially for use can be PROVIDED by some inbuilt classes. The functions that are mostly USED are also provided by the inbuilt classes. The data and functions can be used by INCLUDING the corresponding header file or library.



Discussion

No Comment Found

Related InterviewSolutions