Kathryn introduces the "Create a Blueprint and an Instance" challenge. With this challenge, you will be using your Java skills and the object-oriented programming style to create a class in code.
(musical sting)…- [Instructor] We learned a lot in this chapter.…We learned some foundational concepts in Java…as well as the basics of object-oriented programming.…Object-oriented programming is a programming style…organized around objects rather than actions and data.…In short, writing object-oriented code…means that you're writing code that represents objects,…like the car class and following instances…that we created in the beginning of this chapter.…The programming language we're coding in is Java,…and in the most recent videos,…we have been learning more about Java as a language…and what we can build with it.…
Keeping this in mind,…here's the challenge.…Create a class with three properties,…also called attributes,…that represent any object or thing.…This thing could be a chair, an animal, a shirt,…or anything else you can think of.…You will also need to add three functions,…also called methods,…to this class.…These would be ways you would interact with an object.…For example,…if you were creating a dog class,…
- Downloading Java 9 and choosing an IDE
- Understanding Java basics: data types, strings, arrays, and more
- Controlling flow with functions and loops
- Working with inheritance and interfaces
- Learning lambda
Skill Level Beginner
1. Getting Started
2. Java Basics
3. Control Flow
4. Beyond the Basics
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.