Listed as Free on Udemy when checked on 6 November 2026. No coupon or subscription trial is required for the listed lessons. Enrollment needs a Udemy account; availability can change.
About this course
Knowing Java syntax is one step; organizing a program around objects is another. A class gives related data and behavior a shared home, while individual objects can hold different values. Understanding that distinction makes it easier to explain why a change affects one object, several references to the same object, or a wider part of the program.
Sunil Joseph’s free Java OOP Basics course offers a focused introduction for learners who already know basic Java and can work in a Java IDE. Eleven videos across two sections run for about one hour and fifty-nine minutes. The sequence moves from classes and objects through constructors and overloading, then introduces inheritance and overriding. Employee examples and a simple banking application provide practice contexts.
| Official course | Java OOP Basics |
|---|---|
| Created by | Sunil Joseph |
| Platform | Udemy |
| Language | English |
| Level | Intermediate |
| Listed duration | 118 minutes; 11 lectures across 2 sections |
| Completion terms | Not included with a new free enrollment |
What you’ll learn
Follow how a class definition becomes an object, compare ways of initializing objects, and recognize method and constructor overloading. Explore how this refers to the current instance and how inheritance relates a subclass to its superclass. Use the examples to distinguish shared structure from behavior that a subclass supplies differently.
Skills you’ll gain
- Class modeling
- Object references
- Constructor design
- Method overloading
- Inheritance basics
- Method overriding
Start with an object you can explain
Begin with two instances of a small class and write down their field values separately. Predict the result of changing one field before running your code. Then make a second reference point to an existing object and repeat the experiment. This additional practice helps distinguish creating another object from creating another way to reach the same object.
For an editorial exercise separate from the instructor’s demonstrations, model a library book with a title and a page count. Create two books, print their details, and change only one book’s title. Keep the example small enough that you can explain every assignment. Use fictional data and avoid adding a database, user accounts or a graphical interface before the basic object behavior is clear.
Make initialization and method calls explicit
Constructors establish initial state when instances are created. They resemble methods in some syntax, but Java treats constructor declarations separately: constructors are not inherited methods and are not overridden. For an ordinary class, a compiler-provided default constructor exists when no constructor is declared. A no-argument constructor you write yourself is a different case, even though callers may use similar syntax.
The overloading lessons bring attention to parameter lists. In your book exercise, try one constructor that takes a title and another that also takes a page count. Explain what each accepts and how both produce a usable object. For ordinary methods, changing only the return type does not create a valid overload. Clear parameter names and a small number of alternatives make practice examples easier to follow.
Read inheritance with precise terminology
Inheritance can express an is-a relationship, with a subclass supplying more specific behavior. Keep method overriding distinct from field hiding: declaring a field with the same name as an inherited field does not give it the same dispatch behavior as an overridden instance method. Java classes also have a single direct superclass; implementing multiple interfaces is a separate mechanism. These distinctions are useful when reading introductory examples.
The recording was last updated in September 2020. Its constructor-chaining discussion reflects older Java rules about placing this(…) or super(…) first. Java 25 introduced flexible constructor bodies with restrictions on early construction code, so that first-statement rule should not be treated as universal for every current language version. Match your compiler’s language level and consult its documentation when adapting an example.
Treat the banking application as a small programming demonstration. Its account operations provide a setting for practicing classes and methods; they do not establish transaction security, financial correctness or a deployable banking system. You can transfer the same object-modeling questions to the fictional book exercise without depending on a financial example or on access to the course’s nine advertised resources.
A useful finish is to compare an overloaded call and an overridden method call, explaining why each selects the behavior it does. Add one small change, predict the output, and check the result. This course supports that focused practice rather than a promise of complete Java mastery, professional certification or employment. Resource access and certificates should be checked against the terms shown for your enrollment.
Related courses for your next step
- Add a related skillFree Bash Scripting Course
Focus: Script setup · Interpreter selection
Beginner
- Add a related skillFree SQL to Python pandas Course
Focus: DataFrame selection · Boolean filtering
Beginner
Compare course focus, level and study time
| Course | Level | Focus | Study time |
|---|---|---|---|
| This course — Free Java OOP Course: Connect Classes, Constructors and Inheritance | Intermediate | Class modeling · Object references · Constructor design | 118 minutes (Udemy listing) |
| Free Bash Scripting Course: Write Your First Linux Script | Beginner | Script setup · Interpreter selection · Shell builtins | 44 minutes (Udemy listing) |
| Free SQL to Python pandas Course: From Queries to DataFrames | Beginner | DataFrame selection · Boolean filtering · Removing duplicates | 43 minutes (Udemy listing) |
Frequently asked questions
Is this a first programming course?
The instructor expects basic Java programming and working familiarity with a Java IDE. The source level is Intermediate.
Are constructors inherited or overridden?
No. Java treats constructor declarations separately from inherited methods. Constructors can be overloaded.
Is the banking example ready for real transactions?
No production readiness is established. It is a programming demonstration for learning object-oriented concepts.
Questions & discussion
Share a useful question or correction. Comments appear after moderation. Please avoid personal or sensitive information.