Computer Science, asked by arpi10, 7 months ago

what will this code print int p[ ]=new int[6]; System.out.println(p)

Answers

Answered by DreamCatcher007
1

Answer:

To fix this error, either rename the file or change the class name. Here, there is a missing closing curly brace for the main method. Since the main method is not closed, the compiler is expecting the line after the call to my_method to be a part of the main method's code.

follow me+50thanks=followback

Similar questions