Introduction to Java & OOPs in
Java
A brief presentation covering Java
history and Object-Oriented
Programming concepts
Introduction to Java
• • Java is a high-level, class-based, object-
oriented programming language.
• • It is designed to have as few implementation
dependencies as possible.
• • Java applications are compiled to bytecode
which can run on any Java Virtual Machine
(JVM).
• • Widely used for developing web
applications, enterprise software, mobile
apps, and more.
History of Java
• • Java was originally developed by James
Gosling at Sun Microsystems in 1991.
• • Initially called 'Oak', later renamed to 'Java'
after Java coffee.
• • Released to the public in 1995 as a core
component of Sun Microsystems' Java
platform.
• • Oracle Corporation acquired Sun
Microsystems in 2010 and now maintains Java.
• • Continues to evolve with regular updates
Key Features of Java
• • Platform Independent (Write Once, Run
Anywhere)
• • Object-Oriented
• • Simple and Familiar Syntax
• • Robust and Secure
• • Multithreaded
• • High Performance (Just-In-Time compiler)
• • Distributed
• • Dynamic and Extensible
Introduction to OOPs
• • Object-Oriented Programming (OOP) is a
programming paradigm based on 'objects'.
• • Objects are instances of classes containing
data and methods.
• • OOP aims to increase code reusability,
scalability, and maintainability.
• • Java is a fully object-oriented language
(except for primitive types).
OOP Principles in Java
• 1. Encapsulation: Wrapping data and methods
into a single unit (class).
• 2. Inheritance: Mechanism to create new
classes from existing classes.
• 3. Polymorphism: Ability to take many forms
(method overloading/overriding).
• 4. Abstraction: Hiding complex
implementation details and showing only
essentials.
Summary
• • Java is a versatile, platform-independent
programming language with a rich history.
• • Its object-oriented nature promotes
reusable, modular, and maintainable code.
• • Understanding OOP principles is essential to
leveraging Java effectively.