is This Data Abstration Example right or not?
<p>i had given the following code in an interview. I want to know whether it is right or not..   </p>

<pre><code> public class DataAbstraction
    {
        public static void main (String args[])
        {
            MyDetails obj = new MyDetails();
            obj.setNumebr(10);
            obj.incrementBy(20);
            int num = obj.getMumber();
            System.out.println(num);
        }
    }

class MyDetails
{
    private int n;
    public void setNumebr(int i)
    {
        n = i;
    }
    public void incrementBy(int i)
    {
        n = n + i;
    }
    public int getMumber()
    {
        return n;
    }
}
</code></pre>

<p>So please check it and correct me if i was wrong</p>
