Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * To change this license header, choose License Headers in Project Properties.
- * To change this template file, choose Tools | Templates
- * and open the template in the editor.
- */
- package reeks04;
- import java.util.ArrayList;
- /**
- *
- * @author Simon Van den Bossch
- */
- public class Reeks04 {
- /**
- * @param args the command line arguments
- */
- public static void main(String[] args) {
- /* Oefening 1 */
- ArrayListTest arraylisttest = new ArrayListTest();
- arraylisttest.leesBits();
- /* Oefening 2 */
- String[] w = {"appel", "banaan", "citroen", "banaan", "citroen"};
- ArrayList<String> nieuw = new ArrayList();
- nieuw = arraylisttest.uniekeWoorden(w);
- for (String s : nieuw) {
- System.out.println(s);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement