IMPORTANT CONCEPTS IN JAVA SERIES
Java Concepts — Object Oriented Programming I
Explanations, Examples, Codes and Diagrams
This series on Must Know Java Concepts will introduce all the important Java Concepts.
- Java Features & JDK
- Fundamentals & OOPS ← we are here
- Generics
- Collections
- Exception Handling
- Files & Input-Output
- Serialization
- Multithreading
- Synchronization
- Networking
- All 50 Java Keywords
Fundamentals & Object Oriented Programming
Object-Oriented Programming is a methodology or paradigm to design a program using classes and objects. It simplifies the software development and maintenance. Main Concepts — Inheritance, Polymorphism, Abstraction, Encapsulation.
Data Types in Java
NOTE : UTF-8 is the most popular Unicode character encoding with 90% websites using it.
Data Type Promotion in Java :
Wrapper Classes in Java
Operators in Java
Java Naming Conventions :
Object vs Class
Constructors vs Methods
Types of Inheritance (Supported through Class)
Types of Inheritance (Supported through Interface only)
Association vs Aggregation vs Composition
Aggregation vs Composition
NOTE : The “final” keyword is used in Composition to ensure the child variable is initialized.
Polymorphism — Method Overloading vs Method Overriding
Abstract Class vs Interface
Java Access Modifiers
Abstraction vs Encapsulation
Methods of Object Class
The Object class is the parent class of all the classes in Java by default.
Congrats! 🎉 We are one step closer to “becoming a Java Expert” now!!
This article is supposed to serve as a beginner’s guide for OOPS.
Give a clap if you liked the article or a leave a comment for any suggestion/discussion/dispute. Thank you!