Advertisement
Guest User

Untitled

a guest
Nov 19th, 2019
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. static void uppgift2_fail() {
  2. Human kalle = new Human("Kalle", "xxxxxx-560x");
  3. Human billie = new NonBinary("Billie", "xxxxxx-560x");
  4. Human anna = new Woman("Anna", "xxxxxx-642x");
  5. Human magnus = new Man("Magnus","xxxxxx-011x");
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement