Skip to main content

Object Oriented Programming in Java

Object Oriented Programming in Java

Total video time: 1h 6m
Award-winning instructor: June Clarke
View pricing 14-day money-back guarantee
Beginner No prior experience needed
Bite-sized content Learn at your own pace
Get certified Verified by GoSkills

What you’ll learn

Learn the anatomy of class
Discover the inner workings of setters
Understand inheritance
Use encapsulation
Work with United Modeling Language (UML)
Discover implement vs. extends

Skills you’ll gain

Object-oriented programming Programming fundamentals

Even if you've already started writing code in Java, it takes another layer of know-how to perform object-oriented programming. This course, taught by accomplished software engineer June Clarke, known for her fun style and jargon-light delivery, advances your Java skills to the next level by leading you through concepts such as class, object, inheritance, encapsulation, polymorphism, and more. Each lesson focuses on how these concepts relate to the real world, while simultaneously providing an introduction to the syntax of the Java programming language. you'll build increasingly complex and efficient web projects, and you'll learn all about retrieving and updating variables with getters and setters. you'll draw with the Unified Modeling Language and create a UML diagram. By completing this course you will be equipped to follow the object-oriented paradigm and have upped your Java game considerably.

  • 1
    It's time up your game in Java 1m
  • 1
    What is an object in Java? You may have guessed that Objects are the foundation of Object Oriented Programming. 1m
  • 2
    What is encapsulation? Encapsulation is one of the fundamental concepts of object-oriented programming. 1m
  • 3
    The world of object oriented design To be a successful programmer, you need to write code that's readable and reusable. 1m
  • 4
    Prerequisites This course is best experienced in the quiet moments between you and your IDE. This lesson will point you in the right direction for getting set up. 1m
  • 5
    Exercise files This lesson will show you how to get the exercises for this course from GitHub, and how to import them into Eclipse so that you make the most of this course through hands-on practice. 1m
  • 1
    The anatomy of a Class Classes are the main building blocks of Java code. 1m
  • 2
    The mighty constructor To make every object in Java, you need to invoke the mighty constructor! 2m
  • 3
    Using the constructor Watch a coding demo that will show you how to create a constructor and call it to create multiple instances of a Duck class. 3m
  • 4
    Overriding the toString() method Now that you're making your own classes, learn how to print their details elegantly, by overriding the toString method. 3m
  • 5
    Exercise: Objects in Java Practice makes perfect. 1m
  • 1
    Private member variables There are a number of ways to get access to the data inside of a class, but which is the correct way to maintain modularity and encapsulation in your code? 3m
  • 2
    The inner workings of setters Setters and Getters are key techniques to achieving encapsulation. 2m
  • 3
    Using setters There are 3 ways to modify the data within a class. 3m
  • 4
    Testing with JUnit The mark of a top notch software engineer is thoroughly tested code. 2m
  • 5
    Exercise: Getters, Setters, & JUnit Engage your knowledge of Getters & Setters with an exercise to create Minions. 1m
  • 1
    What is static? You've probably noticed it on your main methods already, but what does it really mean, this mysterious word static? 1m
  • 2
    Static coding demo A static member variable belongs to the class itself, not to any instance of a class. 5m
  • 3
    Breaking out of the main() method Break free from the static context! Learn to use an instance of a class to gain access to the sweet methods inside. 2m
  • 4
    Exercise: Static Experiment on your own with an exercise where static will help you make sure that there is only one Papa Smurf and only one Smurfette. 1m
  • 1
    What is inheritance? Yes! 1m
  • 2
    Extending behaviors Watch me put inheritance into practice with a coding demo where I'll show you how you can use inheritance to add to, or extend the behavior of the Random() class. 5m
  • 3
    The mother object Learn about the omnipresent Object class from whom all objects are born. 1m
  • 4
    Exercise: Build a better Arraylist Put pedal to metal with an exercise! Use your inheritance skills to build a better ArrayList. 1m
  • 1
    The Unified Modeling Language (UML) When you want others to understand and use your code, UML is your friend. 1m
  • 2
    Drawing with UML UML has a variety of standard methods to create diagrams. Learn the various connector types and what they mean. 2m
  • 3
    Exercise: Create a UML diagram You can put down your IDE for this one, and pick up a pencil. 1m
  • 4
    Exercise Solution: UML Diagram Verify your UML by hearing one possible solution that reveals the composition and inheritance relationships within a house. 1m
  • 1
    What is Polymorphism? With polymorphism, subclasses can define their own behavior while still fitting within a specification, that opens up a world of possibilities for new object oriented patterns and architectures. 1m
  • 2
    Polymorphism in action See polymorphism brought to life with a code example that allows countries to define their own national dance. 2m
  • 3
    The purpose of polymorphism When subclasses have a common parent, we can do cool tricks with them, some of which I'll show with code in this lesson. 1m
  • 4
    Implements vs. Extends Get a little deeper with a brief nod to interfaces as an alternative to inheritance. And learn how parent and child classes can share information. 1m
  • 5
    Exercise: Polymorphism Flex your new polymorphic muscles by implementing a class hierarchy that describes the relationship between doctors, surgeons, and general practitioners. 1m
  • 1
    Continuing object oriented programming in Java 1m

Certificate

Certificate of Completion

Awarded upon successful completion of the course.

Certificate sample

Instructor

June Clarke

June Clarke is an accomplished software engineer with a wide range of technologies and languages.June has been passionate about programming since she discovered BASIC at age 9. Since writing her first applet in 1996, she's worked mainly with Java across a range of industries from startups to the military, on applications from robotics to bioinformatics, with a programming career spanning over 20 years.She first started teaching programming to friends in 2010 in exchange for beer, and then transitioned to a younger audience, teaching professional-level Java to kids aged 12 and up at The League of Amazing Programmers. In 2018, she led the engineering team that created Zumi, an award-winning artificially intelligent robot to make machine learning accessible to kids. She is currently an instructor of adult students with UCSD Extension and has published a full Java course on YouTube.Her teaching style is lighthearted and fun. She aims to make Java approachable with minimal jargon and focuses on the areas of Java that she has observed as being most challenging for hundreds of students over the years. Her courses have a strong emphasis on professional tools, and hands-on exercises that develop the skills of the highest value in the industry today. You can find her coding on her YouTube channel: JavaWithJune.

Software Engineer June Clarke

June Clarke

Software Engineer

Accreditations

Link to awards

How GoSkills helped Chris

I got the promotion largely because of the skills I could develop, thanks to the GoSkills courses I took. I set aside at least 30 minutes daily to invest in myself and my professional growth. Seeing how much this has helped me become a more efficient employee is a big motivation.

Chris Sanchez GoSkills learner
Chris Sanchez, GoSkills learner