首页 > TAG信息列表 > duoduo

暑假学习第三天

面向对象:类 对象 package com.yang.www.base.objectproject;public class Dog { String name; int age; float weight; public static void main(String[] args) { Dog duoduo = new Dog(); duoduo.name = "多多"; duoduo.age = 6;