Archie_81 Mesaj tarihi: Aralık 22, 2004 Paylaş Mesaj tarihi: Aralık 22, 2004 Do the followings in lab: 1. Write a Java class named Bird. It has the following methods, instance variables and constructors seen below. Then write an applet uses this Bird class. Bird -color-weight-energy+numOfBirds +Bird()+Bird(String color, int weight, int energy) +void fly()+String sing() +void setColor(String color)+void setWeight(int weight)+void setEnergy(int energy)+String getColor()+int getWeight()+int getEnergy() +String toString() +boolean equals(Bird bird2) Link to comment Sosyal ağlarda paylaş Daha fazla paylaşım seçeneği…
Öne çıkan mesajlar