Open up the Pet.java file in the code editor in the GitHub browser:
- Right click on the file name to open the file in a new tab, so you can still read these instructions.
- Then click the pencil icon to edit the file.
Edit the file:
- Read through the code and ask yourself: What does this code do? What will the outputs be?
- Create a new Pet object that contains a different kind of pet.
Once you've made these changes, click "Commit changes..." and select "Create a new branch for this commit and start a pull request." Follow the directions to commit your changes.
What happens next?
- If you are able to merge your changes, go ahead and do so.
- If you are not able to merge your changes. What might you do to be able to manage any merge conflicts that arise?