Basic PHP Constructs for OOP MCQs Quiz Online PDF Download

Learn basic php constructs for oop MCQs, php test for learning online courses and test prep to practice. Advance php quiz has multiple choice questions (MCQ), basic php constructs for oop quiz questions and answers, oop styles in php, introspection functions, overriding functions, oop and php, basic php constructs for oop tutorials for online PHP courses distance learning.

Php practice test MCQ: namespaces are offered in with choices php2, php4, php5 and php6 problem solving skills for summative and formative assessment, competitive exam prep, interview questions with answer key. Free study guide is for online learning basic php constructs for oop quiz with MCQs to practice test questions with answers.

MCQs on Basic PHP Constructs for OOP Quiz PDF Download

MCQ. Namespaces are offered in

  1. PHP2
  2. PHP4
  3. PHP5
  4. PHP6


MCQ. Ability to recover a class name, member function names, and member variable names from an instance, is called as

  1. Encapsulation
  2. Introspection
  3. Polymorphism
  4. Binding


MCQ. Constructor function must have a same name as name of a

  1. Class
  2. Object
  3. Method
  4. Instance


MCQ. PHP supports

  1. Public variables
  2. Private variables
  3. Protected variables
  4. All of them


MCQ. Namespaces defines a area in which an identifier is

  1. Unique
  2. Same type
  3. Static
  4. None of them