This repository contains solutions to several Java programming projects that were given as part of classroom activities. Each folder corresponds to a specific class project, covering different topics and concepts in Java.
- 📁 Location:
Exception_Management
- 🛠 Description:
This project demonstrates proper handling of exceptions in Java. It includes custom exception classes and showcases how exceptions can be thrown and caught effectively to prevent program crashes. - 👨🏫 Class Objectives:
- Understanding the
try-catch
andfinally
blocks - How to create and use custom exceptions
- Chaining exceptions and using
throw
andthrows
keywords
- Understanding the
- 📁 Location:
Inventory-Management-System
- 🛠 Description:
A console-based inventory management system for tracking and managing product stock. This project uses basic file handling for data persistence. - 👨🏫 Class Objectives:
- Using Java classes and objects to model an inventory system
- Implementing CRUD operations (Create, Read, Update, Delete)
- Basic file operations (saving and loading inventory data to/from files)
- 📁 Location:
Practical_Activity_Generics
- 🛠 Description:
This project focuses on the use of Java Generics to create reusable, type-safe classes and methods. Examples include generic lists, maps, and methods for different data types. - 👨🏫 Class Objectives:
- Understanding the concept of generics and its use for type safety
- Creating generic classes and methods
- Working with commonly used generic types like
List<T>
andMap<K, V>
- 📁 Location:
WebService_SOAP_WSDL
- 🛠 Description:
A project outlining the fundamentals of creating and consuming SOAP-based web services with WSDL (Web Services Description Language). This covers how to use services and exchange data in a structured way over a network. - 👨🏫 Class Objectives:
- Writing a basic SOAP-based web service
- Consuming SOAP services in a Java client
- Understanding how WSDL documents are used to describe web service operations and data formats
Each project in this repository has a specific purpose and can be executed independently. Follow the steps below:
- Navigate to the desired project folder.
- Open the folder in your Java IDE (e.g., IntelliJ IDEA, Eclipse).
- Locate the main class in the project (usually
Main.java
orProgram.java
). - Run the main class to execute the project-specific functionality.
To run these projects, ensure that the following are installed:
- Java Development Kit (JDK): Version 8 or later (Recommended: 11+).
- A Java IDE or a CLI environment with basic knowledge of running Java applications.
This repository is meant as a learning resource based on classroom activities. Contributions to improve or extend solutions are welcome! Feel free to:
- Submit suggestions for improvement
- Add additional examples or explanations
- Fork and modify the repository for personal learning
This repository is free to use for educational and personal learning purposes.
If you have any questions or encounter issues with these solutions, feel free to reach out my email .
Happy Learning! 🚀