Access Control, In-built Packages, Object Class
Offered By: Kunal Kushwaha via YouTube
Course Description
Overview
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
Related Courses
Algorithms, Part IPrinceton University via Coursera Introduction à la programmation orientée objet (en Java)
École Polytechnique Fédérale de Lausanne via Coursera MongoDB for Java Developers
MongoDB University Initiation à la programmation (en Java)
École Polytechnique Fédérale de Lausanne via Coursera Intro to Java Programming
San Jose State University via Udacity