new一个对象的几种方式

方式一 new User();

方式二 Class.forName("com.example.User").newInstance();