Advertisement
desant74268

OOPHW

Jan 16th, 2022
796
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package ru.itsjava.oop.hw;
  2.  
  3. public class Parrot extends Bird{
  4.  
  5.     private static final String species = "Parrot";
  6.  
  7.     public Parrot() {
  8.         super(species, 40);
  9.     }
  10. }
  11.  
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement