摘要:
阅读全文
摘要:
1.全选代码 2.点击Format 阅读全文
摘要:
有人指点的package com.fqs.demo1; import java.util.Scanner; public class StudentTest { public static void main(String[]args) { //1.定义数组arr Student []arr=new 阅读全文
摘要:
自己写的 package com.fqs.demo1; import java.util.Scanner; public class StudentTest { public static void main(String[]args) { //1.定义数组arr Student []arr=new 阅读全文
摘要:
类 package com.fqs.demo1; public class Student { private String id; private String name; private int age; //无参数 public Student(){ } //全部参数 public Stude 阅读全文
摘要:
自己练习package com.fqs.demo1; import java.util.Scanner; public class CarTest2 { public static void main(String[]args) { //1.定义一个数组arr存放3个车 Car []arr=new 阅读全文
摘要:
类 package com.fqs.demo1; public class Car { private String brand; private Double price; private String color; //没有参数 public Car(){ } //全部参数 public Car 阅读全文
摘要:
1.汽车类 package com.fqs.demo1; public class Car { private String brand; private Double price; private String color; //没有参数 public Car(){ } //全部参数 public 阅读全文