|
INTERVIEW QUESTIONS
PROGRAMMING LANGUAGES
PHP
DETAILS
Question: Explain about objects in PHP?
Answer: In previous versions of PHP, object was fully copied before assigning a variable to a method. This problem was solved in new versions of PHP by the handle function. Many of the features present in PHP 5 are adopted from C++. Some of the features which are incorporated are restricted classes such as private and public, abstract and final classes, abstract and final methods, constructors and destructors with exception handling borrowed from C++.
|
|
|
Category |
PHP Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.2) By 9042 users |
Added on |
9/14/2014 |
Views |
67833 |
Rate it! |
|
|
Question:
Explain about objects in PHP?
Answer:
In previous versions of PHP, object was fully copied before assigning a variable to a method. This problem was solved in new versions of PHP by the handle function. Many of the features present in PHP 5 are adopted from C++. Some of the features which are incorporated are restricted classes such as private and public, abstract and final classes, abstract and final methods, constructors and destructors with exception handling borrowed from C++. Source: CoolInterview.com
objects are the things you think about first in designing a program and they are also the units of code that are eventually derived from the process. In between, each object is made into a generic class of object and even more generic classes are defined so that objects can share models and reuse the class definitions in their code. Each object is an instance of a particular class or subclass with the class's own methods or procedures and data variables. An object is what actually runs in the computer.
Source: CoolInterview.com
Answered by: Tushar Maheta | Date: 8/13/2010
| Contact Tushar Maheta
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|
|
Related Questions |
View Answer |
|
Explain about Functions in PHP?
|
View Answer
|
|
Explain about the data types in PHP?
|
View Answer
|
|
What exactly is PHP ?
|
View Answer
|
|
In case of download in php, How will you make a percentage bar showing current status of total 100%?
|
View Answer
|
|
Which will execute faster on php POST or GET? Explain
|
View Answer
|
|
What are new features that are in added in PHP5?
|
View Answer
|
|
How to prevent form hijacking in PHP?
|
View Answer
|
|
How can we submit a form without a submit button?
|
View Answer
|
|
How to add multiple categories through PHP?
|
View Answer
|
|
What do you need to do to improve the performance (speedy execution) for the script you have written?
|
View Answer
|
|
How do you capture audio/video in PHP?
|
View Answer
|
|
difference between require() and include()
|
View Answer
|
|
How to handle drop down box change event without refreshing page?
|
View Answer
|
|
What is the difference between Split and Explode
|
View Answer
|
|
What is the effect of large number of data stored in a database on a website ?
|
View Answer
|
|
How would you initialize your strings with single quotes or double quotes?
|
View Answer
|
|
Is Inheritance supported in PHP?
|
View Answer
|
|
What is the diffrence between Notify URL and Return URL?
|
View Answer
|
|
How to get the URL domain name in PHP?
|
View Answer
|
|
What is the use of obj_start()?
|
View Answer
|