Skip to content

Instantly share code, notes, and snippets.

View orderr66's full-sized avatar

Kanan orderr66

View GitHub Profile
public class Owl extends Bird {
private String color;
public Owl(String name, int age, String color) {
super(name, age);
this.color = color;
}
public String getColor() {
public class Parrot extends Bird {
public Parrot(String name, int age) {
super(name, age);
}
}
public class Owl extends Bird {
public Owl(String name, int age) {
super(name, age);
}
}
public class Bird {
private String name;
private int age;
public Bird(String name, int age) {
this.name = name;
this.age = age;
}
public int getAge() {
public class BaldEagle {
private String name;
private int age;
public BaldEagle(String name, int age) {
this.name = name;
this.age = age;
}
public int getAge() {
public class Parrot {
private String name;
private int age;
public Parrot(String name, int age) {
this.name = name;
this.age = age;
}
public int getAge() {
public class Owl {
private String name;
private int age;
public Owl(String name, int age) {
this.name = name;
this.age = age;
}
public int getAge() {
0xbA7e855928B7ba725A4c8ef5c3eB849624e740F2
@orderr66
orderr66 / celobounty.txt
Last active February 20, 2021 23:49
GitCoin Celo Bounty
0xAa7d17248977FD7d37D2eAa56aAc7f9A4E520956
@orderr66
orderr66 / Agent.java
Last active January 10, 2021 12:40
Example class for medium OOP post.
//name of class
public class Agent {
private String name;
private Integer heightInCM;
//default constructor
public Agent() {
this.name = "Smith";
this.heightInCM = 177;
}