Java Basics & Fundamentals Module 1: Introduction to Java
History and Features of Java - Developed by Sun Microsystems (1995) - Platform-independent (Write Once, Run Anywhere) - Object-Oriented and Secure - Rich API and Robust Memory Management - Multi-threaded and High Performance
Setting up Java Development Environment - Install Java Development Kit (JDK) - Set up Environment Variables (PATH, JAVA_HOME) - Choose an IDE (Eclipse, IntelliJ, VS Code) - Verify installation using `java -version`
Writing and Running a Simple Java Program Example: ```java public class HelloWorld { public static void main(String[] args ) { System.out.println ("Hello, Java!"); } }
- Save as `HelloWorld.java` - Compile: ` javac HelloWorld.java` - Run: `java HelloWorld`