Question
a.
get_class ( )
b.
exist_class ( )
c.
class_exists
d.
None of them
Posted under PHP
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. Which function returns TRUE if string argument is name of a class?
Similar Questions
Discover Related MCQs
Q. Protected members of a class is accessible to class in which
View solution
Q. Derived class is also known as
View solution
Q. Constructor function must have a same name as name of a
View solution
Q. If everything is fine in object selftest ( ) function returns what?
View solution
Q. PHP supports
View solution
Q. Namespaces defines a area in which an identifier is
View solution
Q. To ask objects about their classes, and ask classes about their parents without searching in code, is example of
View solution
Q. Parent class is a
View solution
Q. Pear coding style recommends that class name begins with
View solution
Q. Destruct ( ) function is used to call a
View solution
Q. PHP does not support multiple inheritance but it supports
View solution
Q. The practice of separating the user from the true inner workings of an application through well-known interfaces is known as _________
View solution
Q. 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?
View solution
Q. The practice of creating objects based on predefined classes is often referred to as..
View solution
Q. Which one of the following property scopes is not supported by PHP?
View solution
Q. Which one of the following can be used to instantiate an object in PHP assuming class name to be Foo?
View solution
Q. Which one of the following is the right way to define a constant?
View solution
Q. Which one of the following is the right way to call a class constant, given that the class is mathFunction?
View solution
Q. Which one of the following is the right way to invoke a method?
View solution
Q. Which of the following is/are the right way to declare a method?
i) function functionName() { function body }
ii) scope function functionName() { function body }
iii) method methodName() { method body }
iv) scope method methodName() { method body }
View solution
Suggested Topics
Are you eager to expand your knowledge beyond PHP? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!