Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class DataClass {
- String MarkOne;
- String MarkTwo;
- String MarkThree;
- String MarkFour;
- public DataClass(int MarkOne, String MarkTwo, String MarkThree, String MarkFour) {
- this.Mark1= Mark1;
- this.MarkTwo= MarkTwo;
- this.MarkThree = MarkThree;
- this.MarkFour = MarkFour;
- }
- public int getMark1() {
- return MarkOne;
- }
- public String getMarkTwo() {
- return MarkTwo;
- }
- public String getMarkThree() {
- return MarkThree;
- }
- public String getMarkFour() {
- return MarkFour;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement