1. Question: Which can be able to automatically destroy object?

    A
    class

    B
    destructor

    C
    constructor

    D
    object

    Note: Not available
    1. Report
  2. Question: Which of the following is not a part of OOP?

    A
    Type checking

    B
    Inheritance

    C
    Polymorphism

    D
    Encapsulation

    Note: Not available
    1. Report
  3. Question: Which one of the following terms must relate to "Object"

    A
    Static allocation

    B
    Specific instance of the class models

    C
    Code component

    D
    Attributes of a class

    Note: Not available
    1. Report
  4. Question: Abstract class objects never have to be instantiated.

    A
    True

    B
    False

    Note: Not available
    1. Report
  5. Question: A constructor is used to...

    A
    Free memory.

    B
    Initialize a newly created object.

    C
    Import packages.

    D
    Create a JVM for applets.

    Note: Not available
    1. Report
  6. Question: What is the purpose of the Properties?

    A
    To build a user interface.

    B
    To build Object

    C
    To describe some aspect of a class.

    D
    Noe of the Above

    Note: Not available
    1. Report
  7. Question: Which of the following line is used to create new Object?

    A
    employee $emp=new employee();

    B
    $employee =new Employee();

    C
    employee =new $Employee();

    Note: Not available
    1. Report
  8. Question: Which of the following are class property scope?

    A
    Private

    B
    Public

    C
    Declare

    D
    Protected

    Note: Not available
    1. Report
  9. Question: PHP support six method scope. Which of the following are method scope.

    A
    Private

    B
    Public

    C
    Declare

    D
    Protected

    E
    Abstract

    F
    final

    Note: Not available
    1. Report
  10. Question: How to declare a constructor?

    A
    function __construct($ein) { }

    B
    function  construct($ein) { }

    C
    function  employee($ein) { }

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