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
What is the php function that removes the first element of the array and returns it?
Explain briefly about a search-friendly site looks like?
What is mysql_fetch_array?
Which function you can use in php to open a file for reading or writing or for both?
Does php support multiple inheritances?
What is the major php security hole? How to avoid?
Is php faster than nodejs?
What is the difference between file_get_contents() and file_put_contents() in php?
How to get number of days between two given dates using PHP?
How many records can be stored in mysql table?
What is trait in php?
What are new features in php 7?
What is the use of dual table in mysql?
Tell me what is the difference between characters 34 and x34?
How to close a session properly?