Syntax error What is the Eclipse keyboard shortcut for "public static void main(String[] args) " in Java?

What is the Eclipse keyboard shortcut for "public static void main(String[] args) " in Java?



To get public static void main(String[] args) line in eclipse without typing the whole line type main and press Ctrl + space then, you will get the option for the main method select it.


Updated on: 2020-02-20T05:29:13+05:30

9K+ Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements