Project Based Learning in Java
Unit 1 Java Programming
A topic-wise ebook covering the complete Unit 1 sequence, from Java fundamentals to exception handling.
Semester 5 - 24CSH-301 / 24ITH-301
Unit 1: Java Fundamentals, OOP, and Exception Handling
A topic-wise ebook for Unit 1. It progresses from Java fundamentals (CO1), through object-oriented programming (CO2), to exception handling (CO3), with worked examples, diagrams, practice problems, and quick-check questions in every topic.
Course Mentor Prof. (Dr.) Harish K Mittal
Syllabus Coverage
- Introduction to Java
- Difference between C++ and Java
- Keywords, tokens, and data types
- Arrays, packages, imports, and command-line arguments
- Use of public, private, and protected
- Supporting fundamentals: variables, constants, operators, casting, and Scanner
- Classes, inner classes, inheritance, abstraction, polymorphism, and encapsulation
- Method overloading and overriding
- Exception hierarchy, handling, checked and unchecked types, and custom exceptions