Lecture Resources
https://github.com/Tiwarishashwat/Jav...
In this lecture, we dive deep into Constructors in Java, one of the most important Object-Oriented Programming concepts.
This is Lecture 2 of Java OOP Basics, where everything is explained from scratch with simple examples.
Topics covered in this video:
What is a Constructor in Java?
Rules of Constructor
Default Constructor (Compiler Provided)
Parameterized Constructor
Copy Constructor (User Defined)
this keyword in Java
this() – calling one constructor from another
Object Copying in Java
Reference Copy
Field-wise (Manual) Copy
Copy Constructor
This lecture will help you clearly understand how objects are initialized and copied in Java, which is very important for:
Java fundamentals
OOP interviews
Placement preparation
Writing clean & bug-free code
This video is part of my Java + DSA course by ShashCode, designed especially for beginners and placement-focused students.
👉 Watch till the end to avoid common mistakes related to constructors and this keyword.
Timestamp:
0:00 - Default Constructors
1:57 - Parameterised Constructor
4:29 - Copy Constructor
7:57 - This Method
11:31 - Outro
In questa pagina del sito puoi guardare il video online Java Constructors | Default, Parameterised, Copy Constructor & this Keyword | OOPs | ShashCode della durata di ore minuti seconda in buona qualità , che l'utente ha caricato ShashCode 01 gennaio 2026, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 1,129 volte e gli è piaciuto 32 spettatori. Buona visione!