Introduction to Java Programming
What is Java?
Java is a high-level, class-based, object-oriented programming language designed to have as few
implementation dependencies as possible. It was developed by Sun Microsystems in 1995 and is now owned
by Oracle Corporation.
Key Features
- Platform Independent
- Object-Oriented
- Secure
- Multithreaded
- High Performance
- Robust
Java Architecture
Java code is compiled into bytecode by the Java compiler. The bytecode is executed by the Java Virtual
Machine (JVM), making it platform-independent.
Hello World Program
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello, World!");
}
Introduction to Java Programming
OOP Concepts in Java
- Class
- Object
- Inheritance
- Polymorphism
- Abstraction
- Encapsulation
Common Java APIs
- java.lang
- java.util
- java.io
- java.net
- java.sql
Java Development Tools
- JDK (Java Development Kit)
- JRE (Java Runtime Environment)
- IDEs like Eclipse, IntelliJ IDEA, NetBeans
Useful Links and Resources
- [Official Java Documentation](https://docs.oracle.com/en/java/)
- [Java Tutorials by Oracle](https://docs.oracle.com/javase/tutorial/)
Introduction to Java Programming
- [W3Schools Java Tutorial](https://www.w3schools.com/java/)