Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Pajaro {
- private int edad;
- private String color;
- public void Pajaro(int edad, String color) {
- this.edad = edad;
- this.color = color;
- }
- public void setEdad(int edad) {
- this.edad = edad;
- }
- public int getEdad() {
- return this.edad;
- }
- public void setColor(String color) {
- this.color = color;
- }
- public String getColor() {
- return this.color;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement