Assistance required with a test class
<p>I have the following code and I need to create a new testprogram that creates two objects
Person1 and Person2 and you have to manually add the namn, personnumer , adress etc to these two objects.</p>

<ul>
<li>Print these two objects data</li>
<li>Change the adress on Person1</li>
<li>Let Person2 have a birthday</li>
</ul>

<p>How do I do that, all assistance is appreciated.</p>

<pre><code>import java.io.*;
public class Person {
     private String namn;
     private String personnummer;
     private String adress;
     private int alder;

    public Person(String _namn, String _pnummer, String _adress, int _alder) {
         namn = _namn;
         personnummer = _pnummer;
         adress = _adress;
         alder = _alder;
     }

     public void byterNamn(String _namn) {
         namn = _namn;
     }

     public void byterAdress(String _adress) {
         adress = _adress;
     }

     public void fyllerAr() {
         alder = alder + 1;
     }

     public String hamtaNamn() {
         return namn;
     }

     public String hamtaPersnr() {
         return personnummer;
     }

     public String hamtaAdress() {
         return adress;
     }

     public int hamtaAlder() {
         return alder;
     }

     public String toString() {
         String _toString;
             _toString = "Namn: " + namn + "\nÅlder: " + alder;
             _toString = _toString +  "\nPersonnummer: " + personnummer + "\nAdress: " + adress;
             System.out.print(_toString);
         return _toString;
     }
}
</code></pre>
