Design a class that should always return a single object ?
Answer Posted / sam
In my opinion class can not return any object. Only methods
can return the objects
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
How to open a file in php?
Can we embedded directly PHP code into XHTML document? State Whether True or False?
what is difference between PHP4 , PHP5
What is the difference between a session and cookies?
What is the advantage of runtime polymorphism?
What is a closure in php?
Which function is used in php to count the total number of rows returned by any query?
What is stdclass in php?
What is session and why do we use it?
List some string function name in php?
What is a composer in PHP?
What is php and why it is used?
Is php required for wordpress?
Tell us how can we access the data sent through the url with the post method?
What is the use of is_array() and in_array()?