Advertisement
Guest User

Untitled

a guest
Nov 24th, 2014
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. class Tablet : Komputer
  2. {
  3. public int waga;
  4. public int bateria;
  5.  
  6.  
  7. public Tablet(ram, dysk, waga, bateria) : base(ram, dysk)
  8. {
  9. this.ram = ram;
  10. this.dyks = dysk;
  11. }
  12.  
  13. }
  14. class Laptop : Komputer
  15. {
  16. public int waga;
  17. public int bateria;
  18. public int grubosc;
  19.  
  20.  
  21. public Tablet(ram, dysk, waga, bateria, grubosc) : base(ram, dysk)
  22. {
  23. this.ram = ram;
  24. this.dyks = dysk;
  25. this.grubosc = grubosc;
  26. }
  27.  
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement