package com.kk.innerClass;

/**
* 继承内部类
*
*/
public class Car {
class Wheel {

}
}

class PlaneWheel extends Car.Wheel {

public PlaneWheel(Car car) {
car.super();
}

public static void main(String[] args) {
Car car = new Car();
PlaneWheel pw = new PlaneWheel(car);
}
}

相关文章:

  • 2021-09-17
  • 2022-12-23
  • 2022-12-23
  • 2021-05-25
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-20
猜你喜欢
  • 2022-12-23
  • 2021-08-13
  • 2022-01-19
  • 2022-02-08
  • 2021-08-29
  • 2022-01-04
  • 2022-12-23
相关资源
相似解决方案