一、Date class FirstTest{ static void main(String[] args) { Date date = new Date() println date.toString()