001package edu.pdx.cs410J.lang; 002 003/** 004 * This class represents an ant. 005 */ 006public class Ant extends Insect { 007 008 public Ant(String name) { 009 this.name = name; 010 } 011 012 public String name() { 013 return "ant"; 014 } 015 016}
001package edu.pdx.cs410J.lang; 002 003/** 004 * This class represents an ant. 005 */ 006public class Ant extends Insect { 007 008 public Ant(String name) { 009 this.name = name; 010 } 011 012 public String name() { 013 return "ant"; 014 } 015 016}