Unit 4 Presentation 1
Unit 4 Presentation 1
(UNIT-4)
(WORA)
Key Milestones:
1998: Java 2 (J2SE, J2EE, J2ME)
2004: Java 5 (Generics, Enums)
2014: Java 8 (Lambda expressions, Streams)
2017+: Six-month release cycle (Java 9, 11, 17 LTS)
Current: Java 21 (LTS) as of April 2025
Impact: Widely used in web, mobile, and enterprise
applications.
JAVA FEATURES
Platform Independence: Bytecode runs on any JVM
Object-Oriented: Encapsulation, inheritance,
polymorphism
Simple: No pointers, automatic memory management
programming
High Performance: JIT compiler optimizes bytecode
program.
String[] args or String args[] is used for
Expressions:
Combination of operands and operators
Evaluates to a single value
IDENTIFIERS
-9,223,372,036,854,775,808
long 64 bits to
9,223,372,036,854,775,807
hierarchical relationship.
Types:
Single,Multilevel, Hierarchical (Java does not
support multiple inheritance directly).
Example:
class Animal {
void eat() { System.out.println("Eating..."); }
}
class Dog extends Animal {
void bark()
{ System.out.println("Barking..."); }
}
THANK YOU