
// MangdDemo.java


/******************************************************************************
/ MangdDemo.java använder Mangdklassen.
/
/*****************************************************************************/

public class MangdDemo
{

    public static void main(String[] args)
    {
		int[]    v = {2, 6, 4, 8};
		Mangd    m = new Mangd (v);
		
		System.out.println (m);
		
		System.out.println ("5 finns i mangden: " +m.finnsIMangden (5));
		
		System.out.println ("Lägger till 5 til mängden...");
		
		m.laggTill (5);
		
		System.out.println ("5 finns i mangden: " +m.finnsIMangden (5));
    }

}    
    
	
    