logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology See What Others Are Saying!
  • Question
  • What is Constructors and Destructors?


  • Correct Answer
  • CONSTRUCTOR : PHP allows developers to declare constructor methods for classes Classes which have a constructor method call this method on each newly-created object, so it is suitable for any initialization that the object may need before it is used DESTRUCTORS : PHP 5 introduces a destructor concept similar to that of other object-oriented languages, such as C++ The destructor method will be called as soon as all references to a particular object are removed or when the object is explicitly destroyed or in any order in shutdown sequence 


  • More questions

    • 1. Someone who loans money is called

    • Options
    • A. Lender
    • B. Borrower
    • C. Investee
    • D. Investor
    • Discuss
    • 2. Cache events are processed when ever the Postback events occurs

    • Options
    • A. TRUE
    • B. FALSE
    • Discuss
    • 3. EXPLAIN has output with MATCHCOLS = 0. What does it mean?
    • Discuss
    • 4. The new product development process usually starts with

    • Options
    • A. idea generation
    • B. market strategy development
    • C. concept development
    • D. idea screening
    • Discuss
    • 5. How do you display last 5 records in DB2?
    • Discuss
    • 6. Managing the sales force : For a new salesperson, what are his training needs?
    • Discuss
    • 7. What is SPUFI?
    • Discuss
    • 8. How will u send data from a cobol file to db2 table?
    • Discuss
    • 9. What is buying forward?
    • Discuss
    • 10. What is Benchmarking?
    • Discuss


    Comments

    There are no comments.

Enter a new Comment