21.
Which one of the following variable cannot be used inside a static method?

22.
What does PDO stand for?

24.
Which keyword is used to declare a constant property?

25.
Which one of the following is a constant variable?

26.
What will happen if you try to set a value to a constant once it has been declared?

27.
How many of the following can be contained in constants? 1. boolean 2. integer 3. float 4. string

28.
Which one of the following class can not be instantiated?

29.
Which one of the following keywords is used to define an abstract class?

30.
Which one of the following is the correct abstract method?

Read More Section(Object Oriented Concept)

Each Section contains maximum 100 MCQs question on Object Oriented Concept. To get more questions visit other sections.