Php Interview Questions & Answers: part5



Php Interview QUESTIONS AND ANSWERS :: part5 : 11 to 15

Following PHP Multiple choice objective type questions and answers will help you in many software compnaies written examinations and inteview 2015 :

11.Say in the above question you need to get the array sorted in the manner we humans would have done it i.e picture1 then picture2 etc.. Which of the following function should be used?

dsort()
casesort()
natcasesort()
naturalsort()

12.What will be the output of the following PHP code?

Error
Array ( [0] => apple [1] => mango [2] => peach )
Array ( [0] => apple [1] => mango )
Array ( [0] => pear [1] => orange )

13.Which of the following term originates from the Greek language that means “having multiple forms,” defines OOP’s ability to redefine, a class’s characteristics?

Abstraction
Polymorphism
Inheritance
Differential

14.The practice of creating objects based on predefined classes is often referred to as..

class creation
object creation
object instantiation
class instantiation

More Php Interview QUESTIONS AND ANSWERS available in next pages

    Health is the greatest gift, contentment is the greatest wealth -Buddha
A real entrepreneur is somebody who has no safety net underneath them. Henry Kravis