Array of Classes NullPointerException
<p>This is <code>Element</code> class:</p>

<pre><code>public class Element {

    private String elementName;
    private int atomicNumber;
    private String Symbol;
    private double atomicWeight;

    public Element()
    {

    }

    public String getElementName()
    {
        return elementName;
    }
    public int getAtomicNumber()
    {
        return atomicNumber;
    }
    public String getSymbol()
    {
        return Symbol;
    }
    public double getAtomicWeight()
    {
        return atomicWeight;
    }
    public void setElementName(String elementName)
    {
        this.elementName = elementName;
    }
    public void setAtomicNumber(int atomicNumber)
    {
        this.atomicNumber = atomicNumber;
    }
    public void setSymbol(String Symbol)
    {
        this.Symbol = Symbol;
    }
    public void setAtomicWeight(double atomicWeight)
    {
        this.atomicWeight = atomicWeight;
    }

}
</code></pre>

<p>I am trying to make an <code>Array</code> of this class, this is my <code>mainU.java</code> class:</p>

<pre><code>public class mainU {

    public static void main(String[] args){     

            Element[] element = new Element[103];

        element[0].setElementName("H");
        String s = element[0].getElementName();

        System.out.println(s);

}
</code></pre>

<p>The problem is that i'm getting this error: </p>

<pre><code>Exception in thread "main" java.lang.NullPointerException
    at mainU.main(mainU.java:14)
</code></pre>

<p>Anyone can tell me the reason i'm getting such an error?
I made my program as simple as possible in order for you to be able to help me.</p>
