Main Method auto generation in java Eclipse example
As we know main method is first method java begins its execution. That main method we can generate using two ways in eclipse
While creating the class, we can enable the “public static main method(String args) checkbox”,
If we have created the class without enabling the checkbox, then no need to delete and create it again. We can simply create simply typing main with ctrl+shift.
369 total views, 1 views today