Advertisement
Guest User

Untitled

a guest
Jan 29th, 2015
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. public class Mobile {
  2.  
  3. private String version;
  4. private MobileTypeEnum TYPE;
  5.  
  6. public Mobile(String version,MobileTypeEnum type){
  7. this.version=version;
  8. this.TYPE=type;
  9. }
  10.  
  11. public String getVersion() {
  12. return version;
  13. }
  14.  
  15. public MobileTypeEnum getTYPE() {
  16. return TYPE;
  17. }
  18. public String toString(){
  19. return "Frequency="+this.version+", Type="+this.TYPE;
  20. }
  21.  
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement