Close brackets

Report a typo

In Java syntax, brackets (), [], and {} play a significant role. Your task is to carefully examine the code and close all brackets, so that the correct syntax and structure are observed in the program.

Fill in the gaps with the relevant elements
public class Main {
    public static void main(String[ args{
        System.out.println("Hello, world!";
    
}}]>))
___

Create a free account to access the full topic