Vidyalelo
PHP · Q17

Date And Timestamp

Programming · PHP · question 17

Q17

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

A.
1
B.
2
Answer
C.
3
D.
4

Answer: Option B

Solution

Answer: Option B
Solution:
listAbbreviations() and listIdentifiers() are static methods.