001package edu.pdx.cs410J.lang;
002
003/**
004 * This class represents a duck.  Ducks fly.
005 */
006public class Duck extends Bird implements Flies {
007
008  public Duck(String name) {
009    this.name = name;
010  }
011
012  public String says() {
013    return "Quack";
014  }
015
016  public void fly() {
017    System.out.println("I'm flying");
018  }
019
020}