peon125

Untitled

Apr 9th, 2016
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. public class test1A
  2. {
  3. public static void main(String[] args)
  4. {
  5. ptak pierwszy = new ptak("arek");
  6. ptak drugi = new ptak("radek");
  7. ptak trzeci = new kruk("norbert");
  8. ptak czwarty = new kruk("martyna");
  9.  
  10. System.out.println(pierwszy);
  11. System.out.println(drugi);
  12. System.out.println(trzeci);
  13. System.out.println(czwarty);
  14. }
  15. }
Add Comment
Please, Sign In to add comment