style:fmt

This commit is contained in:
dichgrem
2025-11-15 13:30:17 +08:00
parent c20e8949a5
commit 41e6b71bd7
33 changed files with 549 additions and 543 deletions

View File

@@ -1,20 +1,21 @@
package com.study.demo3;
public class Vehicle {
protected String name;
protected String name;
public Vehicle(String name) {
this.name = name;
}
public Vehicle() {
this.name = "Unknown Vehicle";
}
public Vehicle(String name) {
this.name = name;
}
public void start() {
System.out.println("Vehicle Start");
}
public Vehicle() {
this.name = "Unknown Vehicle";
}
public void stop() {
System.out.println("Vehicle Stop");
}
public void start() {
System.out.println("Vehicle Start");
}
public void stop() {
System.out.println("Vehicle Stop");
}
}