← Winnitude! Search  ·  Reader Mode (310 ms)
Links: Stay in Reader Retro Site Converter Retro Mode: OFF Original Page ↗
REAL PYTHON · Real Python · 41 LINKS

Python vs Java: Object Oriented Programming - Real Python

Go to the next lesson

Python vs Java: Object Oriented Programming

Howard Francis 20 Lessons 1h 56m intermediate

Java programmers making a move to Python often struggle with Python's approach to object-oriented programming (OOP). The approach to working with objects, variable types, and other language capabilities taken by Python vs Java are quite different. It can make switching between both languages very confusing.

This course compares and contrasts object-oriented programming support in Python vs Java. By the end, you'll be able to apply your knowledge of object-oriented programming to Python, understand how to reinterpret your understanding of Java objects to Python, and use objects in a Pythonic way.

In this course, you'll learn how to:

  • Build a basic class in both Java and Python
  • Explore how object attributes work in Python vs Java
  • Compare and contrast Java methods and Python functions
  • Discover inheritance and polymorphism mechanisms in both languages
  • Investigate reflection across Python vs Java
  • Apply everything in a complete class implementation in both languages

This course isn't a primer on object-oriented programming. Rather, it compares object-oriented features and principles of Python vs Java. Students should have some knowledge of Java, and also be familiar with coding Python. If you are unfamiliar with object-oriented programming, then check out Intro to Object-Oriented Programming (OOP) in Python .

What's Included:

  • 20 Lessons
  • Video Subtitles and Full Transcripts
  • 2 Downloadable Resources
  • Accompanying Text-Based Tutorial
  • 4 Hands-On Coding Exercises
  • Q&A With Python Experts: Ask a Question
  • Certificate of Completion

Downloadable Resources:

Start Now

Python vs Java: Object Oriented Programming

20 Lessons 1h 56m

  1. 1. Python vs Java: Object Oriented Programming (Overview) 01:13
  2. 2. Sample Classes in Python vs Java 02:26
  3. 3. Declaration and Initialization 05:54
  4. 4. Class Attributes 03:40
  5. 5. Exercise: Set One Fare for the Whole Taxi Fleet 08:00
  6. 6. Public and Private 06:19
  7. 7. Access Control 06:06
  8. 8. Access Control Continued 09:20
  9. 9. Exercise: Stop Odometer Rollbacks With a Property 09:30
  10. 10. self and this 04:08
  11. 11. Methods and Functions 03:03
  12. 12. Inheritance and Polymorphism 06:14
  13. 13. Multiple Inheritance in Python 04:11
  14. 14. Exercise: Build a Camper Van From Two Parent Classes 11:30
  15. 15. Types and Polymorphism 08:55
  16. 16. Default Methods 03:50
  17. 17. Operator Overloading 05:01
  18. 18. Exercise: Match Car Records by VIN 10:00
  19. 19. Reflection 06:19
  20. 20. Python vs Java: Object Oriented Programming (Summary) 00:53
Start Now

About Howard Francis

Howard is an avid Pythonista and records video courses for Real Python. He has been teaching beginning programming at the college level for over 20 years in C++, Java, C#, and most recently Python.

» More about Howard

Each tutorial at Real Python is created by a team of developers so that it meets our high quality standards. The team members who worked on this tutorial are:

Christopher

Sadie

Tappan

Jon

Dan

Joanna

Aldren

Eric

Related Courses:

Identify Invalid Python Syntax

Python Decorators 101

← Browse All Courses