Heard about object-oriented programming, but not sure what it is? Object-oriented programming (OOP) is a popular style of programming. It comes up in technical interviews often and it's an essential skill for every developer. The problem is that there’s lots of bad info out there about OOP. Lots of myths, misconceptions, bad advice and downright poor tutorials and books. It took me a long time to really get it!
Ultimate Java Part 2: Object-oriented Programming
Ultimate Java Part 2: Object-oriented Programming is a 63-lesson 3 hours 41 minutes self-paced course by Mosh Hamedani (Code with Mosh). Heard about object-oriented programming, but not sure what it is?
Course facts
- Lessons
- 63
- Duration
- 3 hours 41 minutes
- Language
- English
- Added to CourseFlix
- April 2024
- Instructor
- Mosh Hamedani (Code with Mosh)
- Price
- Premium
Before you start
Is it still current?
No recording date is listed. OOP in Java has changed little: classes, constructors and overloading (lessons 5–20), inheritance, polymorphism and abstract classes (33–46), interfaces and dependency injection (47–62) all still apply. Two newer language features are not in the lesson list: records (final in Java 16, JEP 395) and sealed classes (final in Java 17, JEP 409). Read up on them after this course.
What you end up with
Lessons 21–32 refactor a mortgage calculator into classes (Console, MortgageReport, MortgageCalculator) and move it away from static members. Lessons 56–57 are a small project, a MyTube video platform, solved with interfaces and dependency injection. The rest are short code examples, one concept per lesson.
Pick this or…
- Ultimate Java Part 1: Fundamentals: if you have not written Java before. 57 lessons, 3 h 21 min.
- Ultimate Java Part 3: Advanced Topics: if you already know OOP and want generics, collections, streams and concurrency. Recorded in 2019, 113 lessons, 6 h 28 min.
Who teaches Ultimate Java Part 2: Object-oriented Programming? Mosh Hamedani (Code with Mosh)
Mosh Hamedani is the founder of Code with Mosh, one of the highest-volume independent online instructors in software education. He has been publishing courses continuously since the early Udemy era and has taught over a million students across his Udemy catalog and his standalone Code with Mosh platform. His teaching style is patient, rigorously structured, and deliberately beginner-tolerant — the courses are widely cited as some of the most accessible introductions to their respective topics.
The Code with Mosh catalog covers an unusually wide span: web development with HTML / CSS / JavaScript / React / Angular / Node.js, Python and Django, C# and .NET, mobile development with React Native and Flutter, SQL and database fundamentals, and the algorithm / data-structure interview prep tracks. Few independent instructors maintain this much breadth at consistent quality.
The CourseFlix listing under this source carries over 35 Code with Mosh courses spanning that range. Material is paid; Code with Mosh runs on per-course pricing on the original platform. Courses are aimed primarily at developers picking up a new technology from a clean start through to working production proficiency.
What lessons are included in Ultimate Java Part 2: Object-oriented Programming?
| # | Lesson Title | Duration | Access |
|---|---|---|---|
| 1 | 1- Introduction Demo | 00:35 | |
| 2 | 2- Programming Paradigms | 03:41 | |
| 3 | 3- Benefits of Object-oriented Programming | 02:13 | |
| 4 | 4- Course Structure | 01:49 | |
| 5 | 1- Introduction | 00:43 | |
| 6 | 2- Classes and Objects | 03:14 | |
| 7 | 3- Creating Classes | 04:25 | |
| 8 | 4- Creating Objects | 04:31 | |
| 9 | 5- Memory Allocation | 03:54 | |
| 10 | 6- Procedural Programming | 05:38 | |
| 11 | 7- Encapsulation | 04:38 | |
| 12 | 8- Getters and Setters - Title | 07:28 | |
| 13 | 9- Abstraction | 02:25 | |
| 14 | 10- Coupling | 04:19 | |
| 15 | 11- Reducing Coupling | 07:18 | |
| 16 | 12- Constructors | 05:14 | |
| 17 | 13- Method Overloading | 02:53 | |
| 18 | 14- Constructor Overloading | 02:45 | |
| 19 | 15- Static Members | 04:23 | |
| 20 | 17- Summary | 00:51 | |
| 21 | 1- Introduction | 00:55 | |
| 22 | 2- The Problem | 02:41 | |
| 23 | 3- What Classes Do We Need? | 03:42 | |
| 24 | 4- Extracting the Console Class | 02:59 | |
| 25 | 5- Overloading Methods | 02:40 | |
| 26 | 6- Extracting the MortgageReport Class | 01:26 | |
| 27 | 7- Extracting the MortgageCalculator Class | 06:18 | |
| 28 | 8- Moving Away from Static Members | 05:56 | |
| 29 | 9- Moving Static Fields | 02:19 | |
| 30 | 10- Extracting Duplicate Logic | 04:57 | |
| 31 | 11- Extracting getRemainingBalances - Title | 06:14 | |
| 32 | 12- One Last Touch | 02:02 | |
| 33 | 1- Introduction | 00:26 | |
| 34 | 2- Inheritance | 03:50 | |
| 35 | 3- The Object Class | 05:00 | |
| 36 | 4- Constructors and Inheritance | 02:42 | |
| 37 | 5- Access Modifiers | 03:57 | |
| 38 | 6- Overriding Methods | 02:51 | |
| 39 | 7- Upcasting and Downcasting | 05:21 | |
| 40 | 8- Comparing Objects | 09:49 | |
| 41 | 9- Polymorphism | 05:24 | |
| 42 | 10- Abstract Classes and Methods | 02:23 | |
| 43 | 11- Final Classes and Methods | 02:49 | |
| 44 | 12- Deep Inheritance Hierarchies | 02:49 | |
| 45 | 13- Multiple Inheritance | 02:04 | |
| 46 | 15- Summary | 01:11 | |
| 47 | 1- Introduction | 00:37 | |
| 48 | 2- What are Interfaces | 06:05 | |
| 49 | 3- Tightly-coupled Code | 03:57 | |
| 50 | 4- Creating an Interface | 05:24 | |
| 51 | 5- Dependency Injection | 01:30 | |
| 52 | 6- Constructor Injection | 03:21 | |
| 53 | 7- Setter Injection | 02:40 | |
| 54 | 8- Method Injection | 02:28 | |
| 55 | 9- Interface Segregation Principle | 07:11 | |
| 56 | 10- Project- MyTube Video Platform | 03:34 | |
| 57 | 11- Solution | 05:09 | |
| 58 | 12- Fields | 03:14 | |
| 59 | 13- Static Methods | 02:53 | |
| 60 | 14- Private Methods | 02:04 | |
| 61 | 15- Interfaces and Abstract Classes | 02:11 | |
| 62 | 16- When to Use Interfaces | 03:14 | |
| 63 | 18- Course Wrap Up | 00:33 |
One payment unlocks this course and every other premium course. No auto-renew.
See plansRecommended next
What courses are similar to Ultimate Java Part 2: Object-oriented Programming?
Updated 2y agoJava Design Patterns
By: Java SpecialistsOur Java Design Patterns Course is the best value-for-money education you can give your programmers. During an intensive 4 days, we cover all of the Gang-of-Fou16h 20m
Updated 2y agoAWS Serverless REST APIs for Java Developers. CI/CD included
By: UdemyAWS Serverless is probably the quickest way to build a very stable REST APIs that scale to serve millions of users. A very simple Mock API can be created and de14h 34m
Updated 3y agoConcurrency, Multithreading and Parallel Computing in Java
By: UdemyThis course is about the basics of multithreading and concurrent programming with some parallel concepts. In the 21st century this topic is becoming more and mo8h 10m
Updated 6mo agoHands-On Mocking With Mockito
By: Philip RiecksLearn how to efficiently create and configure mock objects with Mockito. Manage the behavior of your tests and control component interactions.2h 8m
Updated 2y agoRESTful Web Services, Java, Spring Boot, Spring MVC and JPA
By: UdemyThis video course also covers the H2 in-memory database and teaches how to build RESTful Web Service that stores data in a database without a need to install My25h 8m
Updated 3mo agoJava Crew #2
By: PodlodkaConference talks and interviews on Java microservice architecture, covering DDD, observability, and contract management in distributed systems.12h 12m
Updated 3y agoJava Programming Bootcamp: Zero to Mastery
By: Zero To MasteryLearn Java programming from scratch to advanced skills with an industry expert. Enhance your skills with over 80 exercises and 18 quizzes. Perfect for aspiring9h 15m5/5
Updated 3mo agoRecursion, Backtracking and Dynamic Programming in Java
By: UdemyMaster recursion, backtracking, dynamic programming, and divide-and-conquer in Java through classic problems like N-Queens and knapsack.9h 46m
More courses by Mosh Hamedani (Code with Mosh)
Updated 5mo agoClaude Code for Professional Developers
Learn to integrate Claude Code into your workflow. Create an AI application from scratch and secure it using modern technologies and practices.8h 57m5/5
ClassicBuild AI-Powered Apps – An AI Course for Developers
AI is everywhere - but can you really create applications with it? Most developers have tried ChatGPT.7h 3m5/5
Updated 2y agoSpring Boot: Mastering REST API Development
Spring Boot is one of the most in-demand frameworks for modern backend development.8h 59m
Updated 2y agoSpring Boot: Mastering the Fundamentals
Spring Boot is the primary framework for modern Java development. Whether you are creating web applications, microservices, or enterprise systems.5h 54m
Updated 2y agoThe Ultimate Design Patterns: Part 1
If you want to reach the higher levels of software engineering, you simply MUST master design patterns. It’s a no-brainer! Most employers are looking for senior4h 3m5/5
Updated 2y agoUltimate C++ Part 1: Fundamentals
Master C++ fundamentals with Mosh Hamedani's course. Ideal for video games, IoT devices, and more. Enhance your coding skills with real-world examples.3h 52m5/5