Examveda
Examveda

Among the four PHP DateTimeZone classes given below how many are static? 1. listAbbreviations() 2. getName() 3. getOffset() 4. listIdentifiers()

A. 1

B. 2

C. 3

D. 4

Answer: Option B

Solution(By Examveda Team)

listAbbreviations() and listIdentifiers() are static methods.

This Question Belongs to PHP >> Date And Timestamp

Join The Discussion

Related Questions on Date and Timestamp