# rajababdullabayli/java architecture

> Architecture diagram of the GitHub repository rajababdullabayli/java, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-01). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/rajababdullabayli/java
- Repository: https://github.com/rajababdullabayli/java

## Overview

This repository is a collection of Java learning exercises, not one integrated application. Its workflows are mostly independent console programs: read input, apply an exercise-specific operation or object model, and print a result. The tree also contains a separate Spring Boot order/payment-system project. The graph highlights sampled console workflows and the central source-index modules; many other task folders are grouped by topic. With no README and limited source excerpts, connections among unsampled exercises and Spring services are intentionally omitted.

Main entry points: [`Ingress/Interface_Exceptions/Task_9/Main.java`](https://github.com/rajababdullabayli/java/blob/main/Ingress/Interface_Exceptions/Task_9/Main.java) (Shape area runner), [`Ingress/Interface_Exceptions/Task_9/Shape.java`](https://github.com/rajababdullabayli/java/blob/main/Ingress/Interface_Exceptions/Task_9/Shape.java) (Shape contract), [`Ingress/Interface_Exceptions/Task_10/Main.java`](https://github.com/rajababdullabayli/java/blob/main/Ingress/Interface_Exceptions/Task_10/Main.java) (Order pricing runner), [`Ingress/Spring_Boot/Dynamic_Order_Payment_System`](https://github.com/rajababdullabayli/java/tree/main/Ingress/Spring_Boot/Dynamic_Order_Payment_System) (Dynamic order/payment system)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_arrays["Array and string exercises"]
  node_array_tasks["Array and string tasks"]
  node_merge_sorted["Merge sorted arrays<br/>[MergeSorted.java]"]
  node_merge_main["Merge task runner<br/>[Main.java]"]
  node_overloading["Overloaded sums<br/>[Overloading.java]"]
  node_overload_main["Overloading runner<br/>[Main.java]"]
  node_string_tasks["String method tasks"]
  node_student_eval["Student evaluation"]
  node_student_eval_main["Evaluation runner<br/>[Main.java]"]
end

subgraph group_oop["Object-oriented exercises"]
  node_oop_tasks["OOP and recursion tasks"]
  node_quiz_player["Quiz player<br/>[QuizPlayer.java]"]
  node_quiz_main["Quiz runner<br/>[Main.java]"]
  node_team_member["Team member<br/>[TeamMember.java]"]
  node_employee_bonus["Manager bonus<br/>[Manager.java]"]
end

subgraph group_interfaces["Interfaces and models"]
  node_interface_tasks["Interface exercises"]
  node_order_runner["Order pricing runner<br/>[Main.java]"]
  node_order_item["Order item contract<br/>[OrderItem.java]"]
  node_discount_product["Discounted product"]
  node_subscription["Subscription item<br/>[Subscription.java]"]
  node_shape_runner["Shape area runner<br/>[Main.java]"]
  node_shape_contract["Shape contract<br/>[Shape.java]"]
  node_circle["Circle area<br/>[Circle.java]"]
  node_rectangle["Rectangle area<br/>[Rectangle.java]"]
  node_triangle["Triangle area<br/>[Triangle.java]"]
  node_payment_lessons["Payment exercises"]
  node_payment_model["Payment calculations<br/>[Payment.java]"]
  node_payment_receipt_runner["Receipt runner<br/>[Main.java]"]
  node_payment_vat_runner["VAT summary runner<br/>[Main.java]"]
  node_customer_service["Customer lookup"]
  node_customer["Customer record<br/>[Customer.java]"]
end

subgraph group_spring["Spring payment system"]
  node_spring_system["Dynamic order/payment system"]
  node_payment_api["Payment service API"]
  node_author_handler["Author processor handler"]
  node_payment_api_v2["Payment API v2"]
end

node_learner(("Learner"))

node_learner -->|"enters input"| node_merge_main
node_merge_main -->|"invokes merge"| node_merge_sorted
node_learner -->|"enters input"| node_overload_main
node_overload_main -->|"calls sums"| node_overloading
node_learner -->|"enters scores"| node_student_eval_main
node_student_eval_main -->|"sets data and prints"| node_student_eval
node_learner -->|"starts exercise"| node_quiz_main
node_quiz_main -->|"submits and checks"| node_quiz_player
node_order_runner -->|"prices items"| node_order_item
node_order_runner -->|"constructs"| node_discount_product
node_order_runner -->|"constructs"| node_subscription
node_discount_product -->|"implements"| node_order_item
node_subscription -->|"implements"| node_order_item
node_learner -->|"selects shape"| node_shape_runner
node_shape_runner -->|"constructs"| node_circle
node_shape_runner -->|"constructs"| node_rectangle
node_shape_runner -->|"constructs"| node_triangle
node_shape_runner -->|"calculates area through"| node_shape_contract
node_circle -->|"implements"| node_shape_contract
node_rectangle -->|"implements"| node_shape_contract
node_triangle -->|"implements"| node_shape_contract
node_learner -->|"enters payment data"| node_payment_receipt_runner
node_payment_receipt_runner -->|"sets fields and prints receipt"| node_payment_model
node_learner -->|"enters payment data"| node_payment_vat_runner
node_payment_vat_runner -->|"sets fields and prints summary"| node_payment_model
node_customer_service -->|"stores and retrieves"| node_customer
node_spring_system -.-> node_payment_api
node_spring_system -.-> node_author_handler
node_spring_system -.-> node_payment_api_v2

click node_array_tasks "https://github.com/rajababdullabayli/java/tree/main/Backend_Java/Array_String_Method"
click node_merge_sorted "https://github.com/rajababdullabayli/java/blob/main/Backend_Java/Array_String_Method/Task2_4/MergeSorted.java"
click node_merge_main "https://github.com/rajababdullabayli/java/blob/main/Backend_Java/Array_String_Method/Task2_4/Main.java"
click node_overloading "https://github.com/rajababdullabayli/java/blob/main/Backend_Java/Array_String_Method/Task_11/Overloading.java"
click node_overload_main "https://github.com/rajababdullabayli/java/blob/main/Backend_Java/Array_String_Method/Task_11/Main.java"
click node_string_tasks "https://github.com/rajababdullabayli/java/tree/main/Ingress/String_Methods/src"
click node_student_eval "https://github.com/rajababdullabayli/java/blob/main/Ingress/String_Methods/src/Task_9/StudentEvaluation.java"
click node_student_eval_main "https://github.com/rajababdullabayli/java/blob/main/Ingress/String_Methods/src/Task_9/Main.java"
click node_oop_tasks "https://github.com/rajababdullabayli/java/tree/main/Ingress/OOP%20_Recursion_Tasks"
click node_quiz_player "https://github.com/rajababdullabayli/java/blob/main/Backend_Java/OOP/Task_2/QuizPlayer.java"
click node_quiz_main "https://github.com/rajababdullabayli/java/blob/main/Backend_Java/OOP/Task_2/Main.java"
click node_team_member "https://github.com/rajababdullabayli/java/blob/main/Backend_Java/OOP/Task_3/TeamMember.java"
click node_employee_bonus "https://github.com/rajababdullabayli/java/blob/main/Ingress/Wrapper_Classes_Enum_Inheritance/Task_6/Manager.java"
click node_interface_tasks "https://github.com/rajababdullabayli/java/tree/main/Ingress/Interface_Exceptions"
click node_order_runner "https://github.com/rajababdullabayli/java/blob/main/Ingress/Interface_Exceptions/Task_10/Main.java"
click node_order_item "https://github.com/rajababdullabayli/java/blob/main/Ingress/Interface_Exceptions/Task_10/OrderItem.java"
click node_discount_product "https://github.com/rajababdullabayli/java/blob/main/Ingress/Interface_Exceptions/Task_10/DiscountedProduct.java"
click node_subscription "https://github.com/rajababdullabayli/java/blob/main/Ingress/Interface_Exceptions/Task_10/Subscription.java"
click node_shape_runner "https://github.com/rajababdullabayli/java/blob/main/Ingress/Interface_Exceptions/Task_9/Main.java"
click node_shape_contract "https://github.com/rajababdullabayli/java/blob/main/Ingress/Interface_Exceptions/Task_9/Shape.java"
click node_circle "https://github.com/rajababdullabayli/java/blob/main/Ingress/Interface_Exceptions/Task_9/Circle.java"
click node_rectangle "https://github.com/rajababdullabayli/java/blob/main/Ingress/Interface_Exceptions/Task_9/Rectangle.java"
click node_triangle "https://github.com/rajababdullabayli/java/blob/main/Ingress/Interface_Exceptions/Task_9/Triangle.java"
click node_payment_lessons "https://github.com/rajababdullabayli/java/tree/main/Ingress/Payment"
click node_payment_model "https://github.com/rajababdullabayli/java/blob/main/Ingress/Payment/Payment/Payment.java"
click node_payment_receipt_runner "https://github.com/rajababdullabayli/java/blob/main/Ingress/Payment/Task_4/Main.java"
click node_payment_vat_runner "https://github.com/rajababdullabayli/java/blob/main/Ingress/Payment/Task_6/Main.java"
click node_customer_service "https://github.com/rajababdullabayli/java/blob/main/Ingress/Student_Book_Management/Task_2/CustomerService.java"
click node_customer "https://github.com/rajababdullabayli/java/blob/main/Ingress/Student_Book_Management/Task_2/Customer.java"
click node_spring_system "https://github.com/rajababdullabayli/java/tree/main/Ingress/Spring_Boot/Dynamic_Order_Payment_System"
click node_payment_api "https://github.com/rajababdullabayli/java/blob/main/Ingress/Spring_Boot/Dynamic_Order_Payment_System/paymentservice/controller/PaymentController.java"
click node_author_handler "https://github.com/rajababdullabayli/java/blob/main/Ingress/Spring_Boot/Dynamic_Order_Payment_System/paymentservice/service/AuthorProcessorHandler.java"
click node_payment_api_v2 "https://github.com/rajababdullabayli/java/blob/main/Ingress/Spring_Boot/Dynamic_Order_Payment_System/paymentservice2/controller/PaymentController.java"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_array_tasks,node_merge_sorted,node_merge_main,node_overloading,node_overload_main,node_string_tasks,node_student_eval,node_student_eval_main toneBlue
class node_oop_tasks,node_quiz_player,node_quiz_main,node_team_member,node_employee_bonus toneAmber
class node_interface_tasks,node_order_runner,node_order_item,node_discount_product,node_subscription,node_shape_runner,node_shape_contract,node_circle,node_rectangle,node_triangle,node_payment_lessons,node_payment_model,node_payment_receipt_runner,node_payment_vat_runner,node_customer_service,node_customer toneMint
class node_spring_system,node_payment_api,node_author_handler,node_payment_api_v2 toneRose
class node_learner toneIndigo
```

## Components

### Array and string exercises

- [Array and string tasks](https://github.com/rajababdullabayli/java/tree/main/Backend_Java/Array_String_Method): `Backend_Java/Array_String_Method`
- [Merge sorted arrays](https://github.com/rajababdullabayli/java/blob/main/Backend_Java/Array_String_Method/Task2_4/MergeSorted.java): `Backend_Java/Array_String_Method/Task2_4/MergeSorted.java`
- [Merge task runner](https://github.com/rajababdullabayli/java/blob/main/Backend_Java/Array_String_Method/Task2_4/Main.java): `Backend_Java/Array_String_Method/Task2_4/Main.java`
- [Overloaded sums](https://github.com/rajababdullabayli/java/blob/main/Backend_Java/Array_String_Method/Task_11/Overloading.java): `Backend_Java/Array_String_Method/Task_11/Overloading.java`
- [Overloading runner](https://github.com/rajababdullabayli/java/blob/main/Backend_Java/Array_String_Method/Task_11/Main.java): `Backend_Java/Array_String_Method/Task_11/Main.java`
- [String method tasks](https://github.com/rajababdullabayli/java/tree/main/Ingress/String_Methods/src): `Ingress/String_Methods/src`
- [Student evaluation](https://github.com/rajababdullabayli/java/blob/main/Ingress/String_Methods/src/Task_9/StudentEvaluation.java): `Ingress/String_Methods/src/Task_9/StudentEvaluation.java`
- [Evaluation runner](https://github.com/rajababdullabayli/java/blob/main/Ingress/String_Methods/src/Task_9/Main.java): `Ingress/String_Methods/src/Task_9/Main.java`

### Object-oriented exercises

- [OOP and recursion tasks](https://github.com/rajababdullabayli/java/tree/main/Ingress/OOP%20_Recursion_Tasks): `Ingress/OOP _Recursion_Tasks`
- [Quiz player](https://github.com/rajababdullabayli/java/blob/main/Backend_Java/OOP/Task_2/QuizPlayer.java): `Backend_Java/OOP/Task_2/QuizPlayer.java`
- [Quiz runner](https://github.com/rajababdullabayli/java/blob/main/Backend_Java/OOP/Task_2/Main.java): `Backend_Java/OOP/Task_2/Main.java`
- [Team member](https://github.com/rajababdullabayli/java/blob/main/Backend_Java/OOP/Task_3/TeamMember.java): `Backend_Java/OOP/Task_3/TeamMember.java`
- [Manager bonus](https://github.com/rajababdullabayli/java/blob/main/Ingress/Wrapper_Classes_Enum_Inheritance/Task_6/Manager.java): `Ingress/Wrapper_Classes_Enum_Inheritance/Task_6/Manager.java`

### Interfaces and models

- [Interface exercises](https://github.com/rajababdullabayli/java/tree/main/Ingress/Interface_Exceptions): `Ingress/Interface_Exceptions`
- [Order pricing runner](https://github.com/rajababdullabayli/java/blob/main/Ingress/Interface_Exceptions/Task_10/Main.java): `Ingress/Interface_Exceptions/Task_10/Main.java`
- [Order item contract](https://github.com/rajababdullabayli/java/blob/main/Ingress/Interface_Exceptions/Task_10/OrderItem.java): `Ingress/Interface_Exceptions/Task_10/OrderItem.java`
- [Discounted product](https://github.com/rajababdullabayli/java/blob/main/Ingress/Interface_Exceptions/Task_10/DiscountedProduct.java): `Ingress/Interface_Exceptions/Task_10/DiscountedProduct.java`
- [Subscription item](https://github.com/rajababdullabayli/java/blob/main/Ingress/Interface_Exceptions/Task_10/Subscription.java): `Ingress/Interface_Exceptions/Task_10/Subscription.java`
- [Shape area runner](https://github.com/rajababdullabayli/java/blob/main/Ingress/Interface_Exceptions/Task_9/Main.java): `Ingress/Interface_Exceptions/Task_9/Main.java`
- [Shape contract](https://github.com/rajababdullabayli/java/blob/main/Ingress/Interface_Exceptions/Task_9/Shape.java): `Ingress/Interface_Exceptions/Task_9/Shape.java`
- [Circle area](https://github.com/rajababdullabayli/java/blob/main/Ingress/Interface_Exceptions/Task_9/Circle.java): `Ingress/Interface_Exceptions/Task_9/Circle.java`
- [Rectangle area](https://github.com/rajababdullabayli/java/blob/main/Ingress/Interface_Exceptions/Task_9/Rectangle.java): `Ingress/Interface_Exceptions/Task_9/Rectangle.java`
- [Triangle area](https://github.com/rajababdullabayli/java/blob/main/Ingress/Interface_Exceptions/Task_9/Triangle.java): `Ingress/Interface_Exceptions/Task_9/Triangle.java`
- [Payment exercises](https://github.com/rajababdullabayli/java/tree/main/Ingress/Payment): `Ingress/Payment`
- [Payment calculations](https://github.com/rajababdullabayli/java/blob/main/Ingress/Payment/Payment/Payment.java): `Ingress/Payment/Payment/Payment.java`
- [Receipt runner](https://github.com/rajababdullabayli/java/blob/main/Ingress/Payment/Task_4/Main.java): `Ingress/Payment/Task_4/Main.java`
- [VAT summary runner](https://github.com/rajababdullabayli/java/blob/main/Ingress/Payment/Task_6/Main.java): `Ingress/Payment/Task_6/Main.java`
- [Customer lookup](https://github.com/rajababdullabayli/java/blob/main/Ingress/Student_Book_Management/Task_2/CustomerService.java): `Ingress/Student_Book_Management/Task_2/CustomerService.java`
- [Customer record](https://github.com/rajababdullabayli/java/blob/main/Ingress/Student_Book_Management/Task_2/Customer.java): `Ingress/Student_Book_Management/Task_2/Customer.java`

### Spring payment system

- [Dynamic order/payment system](https://github.com/rajababdullabayli/java/tree/main/Ingress/Spring_Boot/Dynamic_Order_Payment_System): `Ingress/Spring_Boot/Dynamic_Order_Payment_System`
- [Payment service API](https://github.com/rajababdullabayli/java/blob/main/Ingress/Spring_Boot/Dynamic_Order_Payment_System/paymentservice/controller/PaymentController.java): `Ingress/Spring_Boot/Dynamic_Order_Payment_System/paymentservice/controller/PaymentController.java`
- [Author processor handler](https://github.com/rajababdullabayli/java/blob/main/Ingress/Spring_Boot/Dynamic_Order_Payment_System/paymentservice/service/AuthorProcessorHandler.java): `Ingress/Spring_Boot/Dynamic_Order_Payment_System/paymentservice/service/AuthorProcessorHandler.java`
- [Payment API v2](https://github.com/rajababdullabayli/java/blob/main/Ingress/Spring_Boot/Dynamic_Order_Payment_System/paymentservice2/controller/PaymentController.java): `Ingress/Spring_Boot/Dynamic_Order_Payment_System/paymentservice2/controller/PaymentController.java`

### Other components

- **Learner**

## Connections

- Learner → Merge task runner: enters input
- Merge task runner → Merge sorted arrays: invokes merge (evidence: `Backend_Java/Array_String_Method/Task2_4/Main.java`)
- Learner → Overloading runner: enters input
- Overloading runner → Overloaded sums: calls sums (evidence: `Backend_Java/Array_String_Method/Task_11/Main.java`)
- Learner → Evaluation runner: enters scores
- Evaluation runner → Student evaluation: sets data and prints (evidence: `Ingress/String_Methods/src/Task_9/Main.java`)
- Learner → Quiz runner: starts exercise
- Quiz runner → Quiz player: submits and checks (evidence: `Backend_Java/OOP/Task_2/Main.java`)
- Order pricing runner → Order item contract: prices items (evidence: `Ingress/Interface_Exceptions/Task_10/Main.java`)
- Order pricing runner → Discounted product: constructs (evidence: `Ingress/Interface_Exceptions/Task_10/Main.java`)
- Order pricing runner → Subscription item: constructs (evidence: `Ingress/Interface_Exceptions/Task_10/Main.java`)
- Discounted product → Order item contract: implements (evidence: `Ingress/Interface_Exceptions/Task_10/DiscountedProduct.java`)
- Subscription item → Order item contract: implements (evidence: `Ingress/Interface_Exceptions/Task_10/Subscription.java`)
- Learner → Shape area runner: selects shape
- Shape area runner → Circle area: constructs (evidence: `Ingress/Interface_Exceptions/Task_9/Main.java`)
- Shape area runner → Rectangle area: constructs (evidence: `Ingress/Interface_Exceptions/Task_9/Main.java`)
- Shape area runner → Triangle area: constructs (evidence: `Ingress/Interface_Exceptions/Task_9/Main.java`)
- Shape area runner → Shape contract: calculates area through (evidence: `Ingress/Interface_Exceptions/Task_9/Main.java`)
- Circle area → Shape contract: implements (evidence: `Ingress/Interface_Exceptions/Task_9/Circle.java`)
- Rectangle area → Shape contract: implements (evidence: `Ingress/Interface_Exceptions/Task_9/Rectangle.java`)
- Triangle area → Shape contract: implements (evidence: `Ingress/Interface_Exceptions/Task_9/Triangle.java`)
- Learner → Receipt runner: enters payment data
- Receipt runner → Payment calculations: sets fields and prints receipt (evidence: `Ingress/Payment/Task_4/Main.java`)
- Learner → VAT summary runner: enters payment data
- VAT summary runner → Payment calculations: sets fields and prints summary (evidence: `Ingress/Payment/Task_6/Main.java`)
- Customer lookup → Customer record: stores and retrieves (evidence: `Ingress/Student_Book_Management/Task_2/CustomerService.java`)
- Dynamic order/payment system → Payment service API
- Dynamic order/payment system → Author processor handler
- Dynamic order/payment system → Payment API v2
