Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package ru.itsjava.oop.hw;
- import lombok.AllArgsConstructor;
- import lombok.Data;
- public class Parrot extends Bird{
- private static final String species = "Parrot";
- public Parrot() {
- super(species, 40);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement