摘要:
package com.test;//封装 public class test_2 { public static void main(String[] args) { animal a = new animal(); a.setAge(18); a.setName("zhangsan"); a.t 阅读全文
posted @ 2020-05-11 13:52
雨曼晴川
阅读(80)
评论(0)
推荐(0)
摘要:
/* //创建对象的格式:类名对象名= new_ 类名();Student s = new Student() ; class Demo1_ Student {public static void main (String[] args)//创建对象的格式:类名对象名= new_ 类名();//对象 阅读全文
posted @ 2020-05-11 08:58
雨曼晴川
阅读(104)
评论(0)
推荐(0)

浙公网安备 33010602011771号