18th Feb 2022, 4:33 AM
Davinder Kumar
Davinder Kumar - avatar
3 Answers
+ 3
The main() method signature is incorrect. It should accept String array, your main() method at line 32 accepts a String (not a String array) public static void main( String[] args ) { // method body }
18th Feb 2022, 5:01 AM
Ipang
+ 1
At line 32 it is an array of Strings. public static void main(String[] args)
18th Feb 2022, 5:00 AM
Avinesh
Avinesh - avatar
+ 1
Thank you both of you...😌
18th Feb 2022, 5:27 AM
Davinder Kumar
Davinder Kumar - avatar