package com.chuoji; public class People { private String name; private int age; private String sex; private double height; public String getName() { return name; } public void setName(String name) { this.name = name; } public int getAge() { return ag…
package java1; public class People { public String name; public int age; public String sex; public String height; People(String name, int age, String sex, String height) { this.name = name; this.age = age; this.sex = sex; this.height = height; } publ…
package java1; public class Che { //属性 public String nub; public int speed; public double weight ; Che() { nub="XX1234"; speed=100; weight=100; } Che(String nub, int speed,double weight) { this.nub = nub; this.speed = speed; this.weight = weight…
package a; public class Jidongche { private String chepaihao; private int chesu; private double zaizhong; public String getChepaihao() { return chepaihao; } public void setChepaihao(String chepaihao) { this.chepaihao = chepaihao; } public int getChes…