Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

OOP 2 - Packages, Static, Singleton Class, In-built Methods

Kunal Kushwaha via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Dive into the second video of a comprehensive object-oriented programming course in Java, focusing on essential concepts like packages, static elements, singleton classes, and in-built methods. Learn through an engaging story-based approach that simplifies complex topics. Explore Java packages, understand the 'import' statement, and master static elements in Java. Discover the meaning of static variables, how to use non-static members inside static contexts, and vice versa. Clarify the usage of the 'this' keyword inside static methods, and learn about the initialization of static variables. Delve into inner classes, examine the internal workings of various Java statements, and grasp the concept of singleton classes. With timestamps provided for easy navigation, follow along as the instructor guides you through these crucial OOP concepts, preparing you for placement interviews and enhancing your DSA skills.

Syllabus

Introduction
Packages example
Java Packages
"import" statement
Static elements example
"static" in Java
Static variable meaning
Non-static member inside a static
Static member inside a non-static
"this" keyword inside static
Initialisation of static variables
Inner Classes
Internal working of some statements
Singleton Class
Outro

Taught by

Kunal Kushwaha

Reviews

Start your review of OOP 2 - Packages, Static, Singleton Class, In-built Methods

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.