Week 1: Introduction to Java
- Overview of Java and its applications
- Installing Java Development Kit (JDK) and Integrated Development Environment (IDE)
- Writing and running a basic “Hello World” program
Week 2: Variables and Data Types
- Variables, constants, and data types (int, double, char, boolean, etc.)
- Variable naming conventions and best practices
- Type casting and conversions
Week 3: Operators and Expressions
- Arithmetic, relational, logical, and assignment operators
- Mathematical expressions and precedence rules
- Using conditional (ternary) operator
Week 4: Control Structures – Part 1
- Conditional statements (if, else, switch)
- Writing and understanding loops (for, while, do-while)
- Loop control statements (break, continue)
Week 5: Control Structures – Part 2
- Nested loops and conditional statements
- Handling user input with Scanner class
- Introduction to error handling with try-catch blocks
Week 6: Arrays and Strings
- Declaring and initializing arrays
- Multidimensional arrays and array operations
- Manipulating strings and string methods
Week 7: Object-Oriented Programming – Part 1
- Classes and objects
- Constructors and methods
- Encapsulation and access modifiers (public, private, protected)
Week 8: Object-Oriented Programming – Part 2
Week 9: Exception Handling
- Understanding exceptions and error types
- Handling exceptions with try, catch, throw, and finally
- Creating custom exceptions
Week 10: File Handling and I/O
- Reading and writing to files
- Using File, FileReader, and FileWriter classes
- Working with input/output streams
Week 11: Collections Framework