Skip to content

posikoya/Assignment-Java_Utests_Suite_Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Calculator Project

This repository contains a simple calculator project developed as part of my college coursework. It's a straightforward Java application managed with Maven.

Purpose

The primary purpose of this project is to demonstrate basic Java programming and to gain hands-on experience with Maven, a critical tool for Java projects.

Technologies and Packages Used

  • Java: The main programming language used.
  • Maven: Used for project management and to handle dependencies.
  • Maven Compiler Plugin: Configured to compile Java sources with Java 8.

Project Structure

  • Calculator.java: Contains the Calculator class responsible for the arithmetic logic, specifically adding two numbers.
  • Main.java: The entry point of the application, utilizing the Calculator class.
  • pom.xml: Maven Project Object Model file that includes all configuration settings, dependencies, and project version.

Running the Project

To run this project, ensure you have Java and Maven installed on your machine. Follow these steps:

  1. Clone this repository.
  2. Navigate to the project directory.
  3. Run the following commands:
    mvn clean install
    java -cp target/calculator-1.0-SNAPSHOT.jar Main
    

This will compile the project and run the main application, outputting the result of the calculator's operation.

About

assignment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages