Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Staff
- {
- private String _id;
- private String _name;
- private String _dept;
- private String [] col;
- public Staff(String data){
- col = data.split(",");
- _id = col[0];
- _name = col[1];
- _dept = col[2];
- }
- public String getID()
- { return _id;}
- public String getName()
- { return _name;}
- public String getDept()
- { return _dept;}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement