/** * Write a description of class Parent here. * * @autor: The Hunter Lloyd.....Thank you, thank you very much * @version 1/30/2004 */ public class Baby { private String name; private int weight; public Baby() { System.out.println("Babies made"); name = "default"; weight = 15; } public Baby(int w) { System.out.println("Baby made with the weight of " + w); name = "default"; weight = w; } public Baby(String n, int w) { name = n; System.out.println(n + " weighs " + w + " pounds"); weight = w; } public void printName() { System.out.println("The name is " + name); } public void setName(String n) { name = n; } public int getWeight() { return weight; } }