Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package raw_data;
- public class Cargo {
- private int weight;
- private String type;
- public Cargo(int weight, String type) {
- this.weight = weight;
- this.type = type;
- }
- public String getType() {
- return this.type;
- }
- }
Add Comment
Please, Sign In to add comment