1. Question: What is the default scope method in PHP?

    A
    public

    B
    private

    C
    protected

    D
    abstract

    Note: Not available
    1. Report
  2. Question: Which key word is used to declare a class or function?

    A
    abstract

    B
    public

    C
    private

    D
    protected

    Note: Not available
    1. Report
  3. Question: What are the two common characteristics shared by all objects?

    A
    Methods and interfaces

    B
    State and behavior

    C
    Methods and messages

    D
    None

    Note: Not available
    1. Report
  4. Question: The practice of separating the user from the true inner working of an application through well-known interfaces is known as

    A
    Polymorphism

    B
    Abstraction

    C
    Inheritance

    D
    Encapsulation

    Note: Not available
    1. Report
  5. Question: Which of the following term originates from the Greek language that means “having multiple form”, defines OOP’s ability to redefine, a class’s characteristic

    A
    Abstraction

    B
    Differential

    C
    Inheritance

    D
    Polymorphism

    Note: Not available
    1. Report
  6. Question: Which type of scope is only accessible by subclass?

    A
    static

    B
    public

    C
    protected

    D
    None

    Note: Not available
    1. Report
  7. Question: Which keyword is used to refer to properties or methods within the class itself?

    A
    Private

    B
    Protected

    C
    Public

    D
    $this

    Note: Not available
    1. Report
  8. Question: The practice of creating objects based on predefined classes is often referred to as

    A
    class creation

    B
    object instantiation

    C
    object creation

    D
    class instantiation

    Note: Not available
    1. Report
  9. Question: How can we inherit properties in PHP?

    A
    Implements

    B
    Extends

    C
    Include

    D
    None

    Note: Not available
    1. Report
  10. Question: Maximum, how many interface or interfaces a class can implement?

    A
    only one

    B
    only two

    C
    as many as required

    D
    at least three

    Note: Not available
    1. Report
Copyright © 2024. Powered by Intellect Software Ltd