1.
The following OOP code is an example of _______________ inheritance.
class M : public N, public P
{}
2.
What is the output of the following code snippet:
class Example {
    public static void main(String args[]) {
        int num = 100;
        if (NUM < 1000) {
            System.out.println("Output = " + num);
        }
    }
}
3.
In OOP, which of the following concepts allows a class object to be used inside another class?
4.
Abstract classes are used in OOP ___________________________________.
5.
In OOP, which of the following is not a type of constructor?
6.
In OOP, which of the following statements is true?
7.
In OOP, which of the following functions is given the same access as methods to private and protected data of a class?
8.
In OOP, which of the following helps in determining the method that is to be invoked at runtime?
9.
In OOP, which of these is a function defined in a class?
10.
In OOP, which of the following allows the compiler to insert arguments in a function call if it is not specified?