Advertisement
Guest User

Untitled

a guest
Jul 17th, 2019
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. public class animal {
  2.  
  3. public animal() {
  4.  
  5. }
  6.  
  7. private string name;
  8.  
  9. public string get_name() {
  10. return name;
  11. }
  12.  
  13. public void set_name(string name) {
  14. this.name = name;
  15. }
  16.  
  17. }
  18.  
  19. interface Sound {
  20.  
  21. public void Play();
  22.  
  23. public File file;
  24. public void GetFile();
  25. public void SetFile();
  26.  
  27. }
  28.  
  29. public String GetName() {
  30. return get_name();
  31. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement