| 2.12 |
Which of these are valid declarations of the main() method in order to start the execution of a Java application?
Select the two correct answers.
static void main(String[] args) { /* ... */ } public static int main(String[] args) { /* ... */ } public static void main(String args) { /* ... */ } final public static void main(String[] arguments) { /* ... */ } public int main(Strings[] args, int argc) { /* ... */ } static public void main(String args[]) { /* ... */ }
|