Introduction to Java
• Unit I – Java Basics and Programming
Fundamentals
• Presented by: Govind Singh Panwar
Objectives
• Understand Java's background and history
• Explore key features of Java
• Learn about the Java architecture: JVM, JDK,
JRE
History of Java
• Developed by James Gosling at Sun
Microsystems (1995)
• Initially called Oak; renamed to Java
• Acquired by Oracle in 2010
• Designed for platform independence
Evolution Timeline
• 1995: Java 1.0
• 2004: Java 5 (Generics, enhanced for-loop)
• 2014: Java 8 (Lambda expressions, Streams)
• 2023: Java 20+ (Pattern Matching, Records)
Features of Java
• Platform Independent (Write Once, Run
Anywhere)
• Object-Oriented
• Simple and Secure
• Robust and Portable
• Multithreaded and Dynamic
Java Architecture Overview
• Source Code (.java) → Compiler → Bytecode
(.class)
• JVM executes bytecode
• JRE provides environment for execution
• JDK = JRE + Development Tools
JVM (Java Virtual Machine)
• Loads, verifies, and executes bytecode
• Handles memory management and security
• Platform-specific implementation
JRE and JDK
• JRE: Java Runtime Environment
- Contains JVM + class libraries
• JDK: Java Development Kit
- Includes JRE + compiler + debugger
Summary
• Java is a versatile, platform-independent
language
• Understanding JVM, JDK, and JRE is crucial for
Java development
• Next: Dive into Java syntax and data types
Quiz/Engagement
• What makes Java platform independent?
• Name three key features of Java
• Difference between JDK and JRE?