Skip to content

Java Programming syllabus

CSIT 40413 units · 95 topicsAcademic year 2083/84
Browse the units

1Introduction to Java (5 hrs)

  1. 1.1
    History and features of Java
  2. 1.2
    Java development environment setup (JDK, JRE, JVM)
  3. 1.3
    Java program structure
  4. 1.4
    Compilation
  5. 1.5
    Execution
  6. 1.6
    Variables
  7. 1.7
    Data types
  8. 1.8
    Operators
  9. 1.9
    Control structures (if, switch, loops)
  10. 1.10
    Array
  11. 1.11
    Strings
  12. 1.12
    Input/output operations

2Object Oriented Programming in Java (7 hrs)

  1. 2.1
    Classes and objects
  2. 2.2
    Constructors
  3. 2.3
    This keywords
  4. 2.4
    Methods
  5. 2.5
    Method overloading
  6. 2.6
    Inheritance
  7. 2.7
    Polymorphism
  8. 2.8
    Encapsulation
  9. 2.9
    Abstract classes and interfaces
  10. 2.10
    Wrapper classes
  11. 2.11
    Type casting
  12. 2.12
    Packages and access modifiers

3Exception Handling and File I/O (5 hrs)

  1. 3.1
    Types of exceptions
  2. 3.2
    Checked vs unchecked
  3. 3.3
    Exception handling: try-catch-finally
  4. 3.4
    Throw and throws
  5. 3.5
    Custom exceptions
  6. 3.6
    Best practices
  7. 3.7
    File handling: Streams (InputStream, OutputStream, Reader, Writer)
  8. 3.8
    Reading/writing files
  9. 3.9
    Serialization and deserialization

4Java Collections Framework & Generics (5 hrs)

  1. 4.1
    Introduction to collections
  2. 4.2
    List, Set, Map interfaces
  3. 4.3
    ArrayList, LinkedList, HashSet, HashMap implementations
  4. 4.4
    Iterators and comparators
  5. 4.5
    Introduction to Generics
  6. 4.6
    Need for Generics
  7. 4.7
    Generic classes and methods
  8. 4.8
    Type safety and reusability
  9. 4.9
    Generic Collections

5Multithreading & GUI Programming (6 hrs)

  1. 5.1
    Thread creation: extending Thread class
  2. 5.2
    Implementing Runnable
  3. 5.3
    Thread Priorities
  4. 5.4
    Thread lifecycle and synchronization
  5. 5.5
    Thread pools and executors
  6. 5.6
    GUI Programming Basics: Introduction to AWT, Swing and JavaFX
  7. 5.7
    Components and Containers
  8. 5.8
    Layout Managers
  9. 5.9
    Basic GUI Components

6Database Connectivity with JDBC (7 hrs)

  1. 6.1
    Overview of JDBC and its role in Java applications
  2. 6.2
    JDBC architecture and driver types (focus on Type 4: Thin Driver)
  3. 6.3
    Setting up database connectivity (MySQL/PostgreSQL) and JDBC configuration
  4. 6.4
    Managing connections
  5. 6.5
    Statements
  6. 6.6
    Result sets
  7. 6.7
    Executing DDL and DML operations in Java
  8. 6.8
    Secure data access using PreparedStatement
  9. 6.9
    Basic transaction control (commit, rollback)

7Web Development with Java (7 hrs)

  1. 7.1
    Introduction to web development with Java
  2. 7.2
    HTTP basics
  3. 7.3
    Request/response cycle
  4. 7.4
    Java Servlets: lifecycle, Request, Response handling
  5. 7.5
    JavaServer Pages (JSP): syntax, Directives, Scripting elements
  6. 7.6
    MVC architecture in web applications
  7. 7.7
    Session management and filters

8Modern Web Development with Spring Boot (3 hrs)

  1. 8.1
    Introduction to Spring Boot and its ecosystem
  2. 8.2
    Setting up a Spring Boot project
  3. 8.3
    RESTful web services with Spring Boot

9Practical Works

  1. 9.1
    Setting up Java environment, writing basic Java programs
  2. 9.2
    Implementing classes, objects, and inheritance
  3. 9.3
    Handling exceptions and file operations
  4. 9.4
    Working with Java collections (ArrayList, HashMap)
  5. 9.5
    Design a generic class and a generic method to verify compile-time type safety and code reusability
  6. 9.6
    Developing multithreaded program
  7. 9.7
    Create Form-based Applications using Swing
  8. 9.8
    Connect Java to a database using JDBC, perform CRUD operations with PreparedStatement
  9. 9.9
    Building a simple web application using Servlets and JSP
  10. 9.10
    Build a web application using the Model-View-Controller (MVC) architectural pattern
  11. 9.11
    Developing a RESTful web service using Spring Boot

10Course Description Notes

11Course Objectives Notes

12Learning Outcomes

  1. 12.1
    Write efficient Java programs using OOP concepts like inheritance, polymorphism, and encapsulation.
  2. 12.2
    Implement data structures such as arrays, lists, and maps in Java.
  3. 12.3
    Develop multithreaded applications and handle synchronization issues.
  4. 12.4
    Build dynamic web applications using Java Servlets and JSP.
  5. 12.5
    Solve complex programming problems through hands-on projects and laboratory exercises.

13Reference Books

  1. 13.1
    Herbert Schildt, “Java: The Complete Reference”, 12th Edition, Tata McGraw Hill, 2019.
  2. 13.2
    Cary S. Horstmann, “Core Java Volume I – Fundamentals”, Tenth Edition,Prentice Hall
  3. 13.3
    Cary S. Horstmann, “Core Java Volume II – Fundamentals”, Tenth Edition, Prentice Hall
  4. 13.4
    C. Walls, Spring Boot in Action. Shelter Island, NY, USA: Manning Publications, 2019.
  5. 13.5
    Oracle, “The Java™ Tutorials.” [Online]. Available: https://docs.oracle.com/javase/tutorial/
  6. 13.6
    Spring, “Spring Boot Documentation.” [Online]. Available: https://spring.io/projects/spring-boot
  7. 13.7
    Baeldung, “Baeldung Java and Spring Tutorials.” [Online]. Available: https://www.baeldung.com