Help me in solving SYNJREARG2 problem

My issue

class Codechef
{
{
System.out.print(12 + 7);
public static void main(String args)
}
}

Learning course: Learn Java
Problem Link: Rearrange Practice Problem in Java - CodeChef

Java consist of a class with nested functions and their respective blocks.

Class block looks like this (the main class name and its block represented by brackets “{ }” ):

class Codechef
{
    // Functions
}

The functions consist of:

  • Privacy (public, private or protected)
  • Static directive (optional, don’t wonder what this is so far)
  • Return type
  • Name of the function
  • Parameters (possible none) within parentheses
  • Block represented by brackets “{}”
public static void main(String[] args)
{
    // Statements
}