php mcq questions with answers


                                
The concept of composition specifies that you can.
A. Compose good code with C#
B. Compose C# projects with different objects
C. Reduce errors by remaining composed during programming
D. all of the above
                                
Polymorphism occurs when the methods of the child class.
A. Override the parent class methods but maintain the implementation
B. Maintain the same return type and arguments as the parent class, but implement it differently
C. Have different return types and arguments than the parent class
D. Are Virtual
                                
To output the value of multidimensional array, Console.WriteLines(___)
A. myArray[1][3];
B. myArray[1.3];
C. myArray{1}{3};
D. myArray(1),(3);
                                
All methods in an abstract base class must be declared abstract.
A. True
B. False
                                
Methods that are declared abstract in the base class must show implementation at the time of declaration.
A. True
B. False