Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Practice Java Objects!
You have completed Practice Java Objects!
Preview
How can we go about creating an Object to represent a cow?
This video doesn't have any notes.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
Now that you
0:00
have learned about Java objects,
it's time for some more practice.
0:00
In this session, your goal will be
to create a new class to represent a cow.
0:04
Let's look through what you will need
to do to complete the challenge.
0:09
Attached to this video is a new workspace.
0:13
I've gone ahead and created a couple files
to help you get started.
0:16
We'll be starting in Cow.java where first
0:20
you'll need to create a new class
named cow.
0:23
Then you'll need to create
a private variable named name.
0:26
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up