Last active
January 11, 2020 09:16
-
-
Save shivam340/c33f9302847a2e94ca0ff3ca6f1ce37e to your computer and use it in GitHub Desktop.
Java Model class For MissionDetails
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Mission { | |
private int code; | |
private String details; | |
public Mission(int code, String details){ | |
this.code = code; | |
this.details = details; | |
} | |
public int getCode() { | |
return code; | |
} | |
public void setCode(int code) { | |
this.code = code; | |
} | |
public String getDetails() { | |
return details; | |
} | |
public void setDetails(String details) { | |
this.details = details; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment