Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Mobile {
- private String version;
- private MobileTypeEnum TYPE;
- public Mobile(String version,MobileTypeEnum type){
- this.version=version;
- this.TYPE=type;
- }
- public String getVersion() {
- return version;
- }
- public MobileTypeEnum getTYPE() {
- return TYPE;
- }
- public String toString(){
- return "Frequency="+this.version+", Type="+this.TYPE;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement