今天第一次尝试用IDEA写代码.

写了一个接口,然后在另一个Class里面implements,尽然没有报错???

IDEA触坑Java类如何快速实现接口

 翻了一会儿网页,终于找到解决方法:

Alt+Insert

效果如下:

IDEA触坑Java类如何快速实现接口

点击Implement Methods就好了.

希望会让刚用IDEA的同学少踩坑

相关文章:

  • 2021-11-22
  • 2021-10-07
  • 2022-12-23
  • 2022-02-02
  • 2021-11-22
  • 2021-11-22
  • 2021-11-22
  • 2021-08-16
猜你喜欢
  • 2021-10-16
  • 2022-12-23
  • 2021-11-22
  • 2021-06-17
  • 2022-12-23
  • 2021-11-22
相关资源
相似解决方案