Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class x {
- public static void main(String[] args) {
- // Dog blacky = new Dog();
- // blacky.height=100;//cm
- // blacky.color="black";
- // blacky.me();
- // blacky.myType();
- Dog gingi = new Dog(50,"brown");
- gingi.me();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement