Advertisement
Guest User

Untitled

a guest
Jan 15th, 2020
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. package com.example.myapplication;
  2.  
  3.  
  4. import androidx.annotation.NonNull;
  5.  
  6. import java.io.Serializable;
  7.  
  8. public class Junak implements Serializable {
  9. private String Ime;
  10. private Long cas;
  11.  
  12. public Junak(String Ime, Long cas) {
  13. this.Ime = Ime;
  14. this.cas = cas;
  15. }
  16.  
  17.  
  18. @NonNull
  19. @Override
  20. public String toString() {
  21.  
  22. return Ime + " " + cas;
  23. }
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement