Page 1
Wink Notes
B.Tech CSE — 5th Semester
Java Programming
— Unit - 1 —
1. Introduction to Java
Java is a high-level, class-based, object-oriented programming language designed to have as few implementation dependencies as possible.
1.1 The History and Philosophy
Created by James Gosling at Sun Microsystems in 1995. Its core philosophy is WORA (Write Once, Run Anywhere). This means compiled Java code can run on all platforms that support Java without the need for recompilation.
1.2 Key Features
- Simple: Removes complexities like explicit pointers and operator overloading found in C++.
- Object-Oriented: Everything (almost) is an object.
- Robust: Strong memory management (Garbage Collection) and strict compile-time type checking.
- Secure: Runs inside a virtual machine sandbox.
- Multithreaded: Built-in support for concurrent execution.