Skip to content

Instantly share code, notes, and snippets.

@singhrahuldps
Last active April 30, 2020 11:20
Show Gist options
  • Save singhrahuldps/08222c94e9f985aa8aebfbb27810ec47 to your computer and use it in GitHub Desktop.
Save singhrahuldps/08222c94e9f985aa8aebfbb27810ec47 to your computer and use it in GitHub Desktop.
Tiger tiger = new Tiger(10, "Bengal Tiger");
tiger.eatFood("Deer");
tiger.printDetails();
tiger.roar();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment