Java Constructors | Default, Parameterised, Copy Constructor & this Keyword | OOPs | ShashCode

Veröffentlicht am: 01 Januar 2026
auf dem Kanal: ShashCode
1,129
32

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


Auf dieser Seite können Sie das Online-Video Java Constructors | Default, Parameterised, Copy Constructor & this Keyword | OOPs | ShashCode mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer ShashCode 01 Januar 2026 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 1,129 Mal angesehen und es wurde von 32 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!