day07-常用类-ArrayList-引入和概述

This commit is contained in:
2026-07-21 11:56:47 +08:00
parent d521651f0e
commit 479f9ccb60
2 changed files with 35 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
package com.inmind.arraylist03;
public class Car {
String brand;
double price;
String color;
public Car() {
}
public Car(String brand, double price, String color) {
this.brand = brand;
this.price = price;
this.color = color;
}
}