Annotation annotation = c.getAnnotation(A.class);

 这个时候你写代码的时候可能光标在c.getAnno中的某一个位置,那么你又是笔记本没有end home键,于是baidu得出 Shift+Enter则可以换到第二行来写.

 

2.Shift+Ctrl+F10

public class Main {

    public static void main(String[] args) {
        System.out.println("Hello World!");
    }
}

 

需要运行这个main方法就按快捷键shift+ctrl+F10  

 

 

3.Shift+ESC

当我们执行了main方法的时候,控制台会打印出效果并弹出来,这个时候我们需要继续编码代码则需要关闭控制台则Shift+ESC

 

相关文章:

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