What is an object?

Ans: A group information that holds the information about data,
methods from a class.

What is a class?

Ans : A collection of data and methods

What is an interface?

Ans: In OOP model inheritance is used to provide a interface
between unrelated classes and methods

What is inheritance, and why do you need it?

Ans: its is a method of the inheriting the properties of base
class into an another class. Its use ful when we need a class with
more functionality than the parent class. So we simply inherit the
base class to the new class. The new class has all the properties of
base class plus the the additional methods added in the new class

What is the Hollywood principle?

Ans: No idea

What is coupling?

Ans: its is described as how the one module is related to the the
other modules

What is tight coupling, is it bad or good?

Ans : if One module is heavily related to the the other modules is
referred as tight coupling . It is not good.

What are design patterns? What design patterns do you know,
which of them do you use?

Ans : No idea

What is the difference between equations of objects $a == $b and
$a === $b?

Ans : checks whether $a == $b equals, but the $a === $b is not only
checks equal, but also check its type.

What is the garbage collector? Describe the disadvantages of the garbage collector in PHP earlier than 5.3?

Ans : It is defined as the memory management, which reallocated the
resource's memory with no future usage.

Please give me the uncompleted answers though the comments


PHP Question and answers

What is PHP? What are the differences between PHP 4 and PHP5?

Ans : PHP is a scripting language. Its referred as hypertext preprocessor.
PHP5 has more advanced class architecture than PHP4. Its has method
access properties like protected, public, private. The constructor,
destructor methods are changed in php5. Ie writing a constructor
function has been changed also there is no destructor in php4 version.
In PHP 5 version, there is , more advanced function added.
Exception were introduced in the PHP5 version.
In PHP5 new extensions like simpleXML, DOM were introduced.

What is HTTP? What types of HTTP requests do you know?

Ans : HTTP is HyperText Transfer Protocol. It is a protocol
used to transfer hypertext requests and information between servers
and browsers.
There are two types of http requests. They are GET method and POST method.

What is SQL? What RDBMSes do you know?

Ans: SQL is Structured Query Language. I have work
experience in Mysql. But I have knowledge about Oracle, Microsoft

What is web server? What web servers do you know?

Ans: A computer which can accept http requests from clients,
and can deliver these http response in the form of web pages.
The web servers I know are Apache ans IIS

What is the difference between HTML and XML? What markup languages do you know besides HTML and XML?

Ans: HTML is used for presentation. While the XML is used for
holding the data.
HTML has predefined tags. XML has no predefined tags.
We can use our own tags in XML. It is self descriptive language.
HTML is not case sensitive, while XML is.
In HTML the close tags are not mandatory, But in XML
its must one