Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package main;
- public class Component {
- private String description;
- public Component(String description) {
- this.description = description;
- }
- public String getDescription() {
- return description;
- }
- @Override
- public String toString() {
- return description;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement