Java Programming Guide
1. Introduction to Java
- History and features of Java
- Java Virtual Machine (JVM), JRE, and JDK
- Platform independence and bytecode
- Structure of a Java program
2. Data Types and Variables
- Primitive data types (int, float, char, etc.)
- Non-primitive data types (arrays, strings, objects)
- Type casting and type promotion
- Constants and variables
3. Operators and Control Flow
- Arithmetic, relational, logical, and assignment operators
- if-else, switch-case
- Loops: for, while, do-while
- break and continue
4. Object-Oriented Programming
- Class and object
- Constructors and methods
- Inheritance, Polymorphism
- Abstraction and Encapsulation
5. Arrays and Strings
- Single and multi-dimensional arrays
- String class and its methods
- StringBuilder and StringBuffer
6. Exception Handling
- try, catch, throw, throws, finally
- Checked vs Unchecked exceptions
- Creating custom exceptions
7. File I/O
- Reading and writing files using FileReader and FileWriter
- BufferedReader and BufferedWriter
- File handling using java.io package
8. Collections Framework
- List, Set, Map interfaces
- ArrayList, HashSet, HashMap
- Iterators and for-each loop
9. Multithreading
- Thread class and Runnable interface
- Thread lifecycle
- Synchronization and inter-thread communication
10. GUI Programming (Intro)
- AWT and Swing overview
- Basic components: Button, Label, TextField
- Event handling mechanism
11. Java Best Practices
- Code readability and naming conventions
- Exception handling and logging
- Memory management and garbage collection
- Use of design patterns