重温java知识(十、static应用案例之实现属性自动命名)
package com.mydemo;public class BookDemo { public static void main(String args[]){ System.out.println(new Book("Java从入门到放弃").getTitle()); System.out.println(new Book().getTitle...