You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
package 类间关系基础;
|
|
|
|
|
|
|
|
|
/**
|
|
|
* @author The Administrator
|
|
|
* @version 1.0
|
|
|
* @created 26-10月-2025 13:53:56
|
|
|
*/
|
|
|
class SteeringWheel {
|
|
|
|
|
|
private double diameter;
|
|
|
/**
|
|
|
* 灞炴€э細鏉愯川锛堝<E9949B>鐨<EFBFBD>潻銆佸<E98A86>鏂欙級銆佺洿寰勶紙鍗曚綅锛氬帢绫筹級
|
|
|
*/
|
|
|
private String material;
|
|
|
public Car m_Car;
|
|
|
|
|
|
public SteeringWheel(){
|
|
|
|
|
|
}
|
|
|
|
|
|
public void finalize() throws Throwable {
|
|
|
|
|
|
}
|
|
|
/**
|
|
|
* 鏋勯€犳柟娉曪細鍒濆<E98D92>鍖栨柟鍚戠洏灞炴€?
|
|
|
*
|
|
|
* @param material
|
|
|
* @param diameter
|
|
|
*/
|
|
|
public SteeringWheel(String material, double diameter){
|
|
|
|
|
|
}
|
|
|
|
|
|
public double getDiameter(){
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* Getter鍜孲etter鏂规硶锛堝彲閫夛紝鐢ㄤ簬璁块棶鍜屼慨鏀瑰睘鎬э級
|
|
|
*/
|
|
|
public String getMaterial(){
|
|
|
return "";
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
*
|
|
|
* @param diameter
|
|
|
*/
|
|
|
public void setDiameter(double diameter){
|
|
|
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
*
|
|
|
* @param material
|
|
|
*/
|
|
|
public void setMaterial(String material){
|
|
|
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 鏂规硶锛氬乏杞<E4B98F>搷浣?
|
|
|
*/
|
|
|
public void turnLeft(){
|
|
|
|
|
|
}
|
|
|
}//end SteeringWheel
|