Java Object的操做

public class Application { public static void main(String[] args) { //Object 是全部類的父類,定義了全部類共有的一組方法 //toString 方法的返回值決定了輸出對象的內容 //默認是輸出了對象的內存地址轉化後的結構 //重寫toString
相關文章
相關標籤/搜索