What is the data type of the parameter in the main method?

Choose the correct answer

Explanation

The main method typically accepts an array of strings as its parameter, which allows command-line arguments to be passed to the program. Therefore, the parameter's data type is String.

What is the data type of the parameter in the main m… — Java concepts and its programming | PakQuizHub