This question may be redundant but I really don't understand why the following code throws: Exception in thread "main" java.lang.NullPointerException
public class NewClass {
    static StringBuilder SB;
    public static void main(String[] args) {
        SB.append("Tesing");
        System.out.println(SB);
    }
}
 
     
     
    