SHARE
TWEET

Untitled

a guest Jun 25th, 2019 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class Main {
  2.   public static void main(String[] args) {
  3.     Dog fido = new Dog("Fido", "Terrier", 4);
  4.     System.out.println(fido.name + " is a " + fido.breed + " and is " + fido.age + " years old.");
  5.     // => Fido is a Terrier and is 4 years old.
  6.   }
  7. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top