Advance PHP

MCQsQuestion.com has 7 Question/Answers about Topic Advance PHP

TextUtils and TextUtils_WordCounter classes are those which belongs to

TextUtils and TextUtils_WordCounter classes are those which belongs to
  • A. Pear package
  • B. Inherited classes
  • C. Multi-inherited classes
  • D. None of them
  • Correct Answer: Option A

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

Ability to recover a class name, member function names, and member variable names from an instance, is called as
  • A. Encapsulation
  • B. Introspection
  • C. Polymorphism
  • D. Binding
  • Correct Answer: Option B

An individual instance in OOP is called as

An individual instance in OOP is called as
  • A. Class
  • B. Function
  • C. Object
  • D. Constructor
  • Correct Answer: Option C

An abstract class is one that cannot be instantiated but

An abstract class is one that cannot be instantiated but
  • A. Only inherited
  • B. Only declared
  • C. Only copied
  • D. All of them
  • Correct Answer: Option A

Encapsulation is

Encapsulation is
  • A. Data hiding
  • B. Defining classes
  • C. Data removing
  • D. None
  • Correct Answer: Option A

Namespaces defines a area in which an identifier is

Namespaces defines a area in which an identifier is
  • A. Unique
  • B. Same type
  • C. Static
  • D. None of them
  • Correct Answer: Option A

PHP does not support multiple inheritance but it supports

PHP does not support multiple inheritance but it supports
  • A. Chained subclassing
  • B. Classified subclassing
  • C. Unique subclassing
  • D. None of them
  • Correct Answer: Option A