25 June 2026
What is Java?
Java is a popular, high-level, object-oriented programming language.
Developed by James Gosling at Sun Microsystems in 1995
platform independence
Java is the most important topic in OOPs, which is a type of Paradigm,
Paradigm
Java is a programming paradigm, a fundamental style, approach, or mindset used to structure, design, and write computer code
object-oriented programming language.
The features of an Object-Oriented Programming (OOP) language revolve around classes and objects,
Built upon four fundamental pillars:
Inheritance, Polymorphism, Encapsulation, Abstraction
Inheritance
In Java, it is possible to inherit attributes and methods from one class to another.
inheritance concept into two categories:
Superclass (Parent): The class whose features are inherited.
Subclass (Child): The class that inherits from the superclass. It can reuse parent fields/methods and add its own.