In netbeans I am getting the error:

```
Exception in thread "main" java.lang.RuntimeException: Uncompilable source code -    illegal start of expression
    at javaapplication3.NewClass4.main(NewClass4.java:20)

```

My code:

```
public class NewClass4
{
   public static void main(String a[])
   {
      System.out.println("hello");
      static
      {
          System.out.println("u");
      }
    }
  }

```