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

YouTube

Access Control, In-built Packages, Object Class

Kunal Kushwaha via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Dive into the fourth installment of a comprehensive object-oriented programming course in Java, focusing on crucial concepts like access control, in-built packages, and the Object class. Learn about private, public, and protected modifiers through practical examples, understand the rules governing their usage, and explore when to apply each modifier effectively. Gain insights into the protected modifier's nuances and delve deeper into Java packages, including built-in options like lang, io, util, applet, awt, and net. Examine the Object class in detail, covering its methods such as hashCode, equals, and getClass, along with the instanceof operator. Perfect for aspiring Java developers looking to solidify their OOP foundations and prepare for technical interviews.

Syllabus

Introduction
Example: private, public and protected modifiers
Rules for modifiers
When to use which modifier?
Important point for protected modifier
More about Packages
In-built Packages
"lang" package
"io" package
"util" package
"applet" package
"awt" package
"net" package
Object Class
Object Methods
hashCode Method
equals Method
instanceof Operator
getClass Method
Outro

Taught by

Kunal Kushwaha

Reviews

Start your review of Access Control, In-built Packages, Object Class

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.