1.

How many methods does the DateTime class have?(a) 8(b) 9(c) 10(d) 11This question was addressed to me in final exam.Enquiry is from Working with Dates in division File and Session Handling in PHP of PHP

Answer»

The correct answer is (B) 9

Explanation: The DATETIME CLASS has NINE methods, all of which are PUBLIC.



Discussion

No Comment Found

Related InterviewSolutions