Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //(.)(.)\\ Product.print
- public String print() {
- return String.format(CommandConstants.PRODUCT_PRINT, this.name, this.brand,
- this.price, this.gender);
- }
- //(.)(.)\\ CommandConstants.PRODUCT_PRINT
- public static final String PRODUCT_PRINT = " #%s %s%n #Price: $%.2f%n #Gender: %s%n ===%n";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement