首页题库练习题目详情
面向对象程序设计单选题中等

Calendar类中的哪一方法用于获取当前年份?

Aget(Calendar.YEAR)
BgetYear()
Cget(Calendar.AM_PM)
Dget(Calendar.MONTH)