摘要: public class TestReferenceType { public static void main(String[] args) { Student student = new Student(); student.id = 2000; method(student); System. 阅读全文
posted @ 2018-08-19 23:28 Monica_维维 阅读(165) 评论(0) 推荐(0)
摘要: package day08;/* * 基本数据类型的传递 * 参数传递的是具体的值 */public class TestBaseType { public static void main(String[] args) { int i=9; method(i); System.out.printl 阅读全文
posted @ 2018-08-19 17:24 Monica_维维 阅读(236) 评论(0) 推荐(0)
摘要: package com.bjpowernode.t07; /* * 构造代码块 * */public class TestConstractorBlock { public static void main(String[] args) { User user = new User(); user. 阅读全文
posted @ 2018-08-19 17:14 Monica_维维 阅读(344) 评论(0) 推荐(0)