Which of the following are valid declarations of the standard main()
method?.
Select 2 options.
Correct Options are : D E
A valid declaration of the main()
method must be 'public' and 'static', should return 'void', and should take a single array of Strings.
The order of the static and public keywords is irrelevant.
But return type should always come just before the method name.
'final' does not change the method signature.