php mcq questions with answers


                                
When an instance method declaration includes the abstract modifier, the method is said to be an ______.
A. Abstract method  
B. Instance method  
C. Sealed method  
D. Expression method
                                
The theory of _____ implies that user can control the access to a class, method, or variable.
A. Data hiding  
B. Encapsulation  
C. Information Hiding  
D. Polymorphism
                                
Inheritance is ______ in nature.
A. Commutative  
B. Associative  
C. Transitive  
D. Iterative
                                
The point at which an exception is thrown is called the _______.
A. Default point  
B. Invoking point  
C. Calling point  
D. Throw point
                                
In C#, having unreachable code is always an _____.
A. Method  
B. Function  
C. Error  
D. Iterative