会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
振华213
博客园
首页
新随笔
联系
订阅
管理
2018年1月17日
构造方法-猴子
摘要: package com.imooc.monkey; public class Monkey { // 属性:姓名(name)、特征(feature) String name; String feature; // 无参的构造方法(默认初始化name和feature的属性值,属性值参考效果图) public Monkey() { System.out.println...
阅读全文
posted @ 2018-01-17 20:34 振华213
阅读(448)
评论(0)
推荐(0)
编辑
公告