首页 新闻 搜索 赞助
2
回答数

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

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