Q. Which method is used to get the year of a date as a four-digit number?

  • (A) getYear()
  • (B) fullYear()
  • (C) getFullYear()
  • (D) getfullyear()
πŸ’¬ Discuss
βœ… Correct Answer: (C) getFullYear()

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
197
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
91%
Success Rate