Guest User

Untitled

a guest
Apr 19th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.28 KB | None | 0 0
  1. import domein.Bow_And_Arrow;
  2. import domein.Queen;
  3. import domein.Spelfiguur;
  4.  
  5.  
  6. public class StartUp {
  7.  
  8.     public static void main(String[] args) {
  9.         Spelfiguur a = new Queen();
  10.         System.out.println(a.display());
  11.        
  12.         a.setWapen(new Bow_And_Arrow());
  13.         System.out.println(a.display());
  14.     }
  15.  
  16. }
Add Comment
Please, Sign In to add comment