首页 新闻 会员 周边
2
回答数

回答被采纳 求解释Java代码,Date构造后面的花括号是个什么?

Date d = new Date(){ public int compareTo(Date other){ return super.compareTo(other); }};