# testleafpages/freshers_jan-24 architecture

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

- Interactive diagram: https://gitdiagram.com/testleafpages/freshers_jan-24
- Repository: https://github.com/testleafpages/freshers_jan-24

## Overview

This repository is a collection of standalone Java learning exercises, progressing from language fundamentals and algorithms to Selenium browser automation, plus a small bank-interface example. There is no shared application workflow or common runtime; each class with a main method is an independent demonstration. The graph groups related exercises rather than implying they form a pipeline. Browser interactions and the bank implementation relationship are shown only where the supplied excerpts establish them; other exercises are summarized by topic.

Main entry points: [`week4/day1/LearnXpath.java`](https://github.com/testleafpages/freshers_jan-24/blob/main/week4/day1/LearnXpath.java) (XPath practice), [`week4/day2/LearnAdvancedXpath.java`](https://github.com/testleafpages/freshers_jan-24/blob/main/week4/day2/LearnAdvancedXpath.java) (Advanced XPath), [`week4/day3/LearnXpath.java`](https://github.com/testleafpages/freshers_jan-24/blob/main/week4/day3/LearnXpath.java) (Element interactions), [`week3/day4/Login.java`](https://github.com/testleafpages/freshers_jan-24/blob/main/week3/day4/Login.java) (Login exercise)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_fundamentals["Java fundamentals"]
  node_objects["Objects and access<br/>[Car.java]"]
  node_calculations["Calculations<br/>[Calculator.java]"]
  node_operators["Operators and selection"]
  node_marks["Student grading<br/>[StudentsMark.java]"]
end

subgraph group_algorithms["Algorithms and data"]
  node_arrays["Array exercises<br/>[LearnArray.java]"]
  node_number_algorithms["Number algorithms"]
  node_array_algorithms["Array challenges<br/>[FindDuplicate.java]"]
  node_patterns["Pattern exercises<br/>[StarPattern.java]"]
  node_strings["String exercises<br/>[LearnString.java]"]
end

subgraph group_automation["Browser automation"]
  node_xpath_basics["XPath practice<br/>[LearnXpath.java]"]
  node_xpath_advanced["Advanced XPath"]
  node_xpath_interactions["Element interactions<br/>[LearnXpath.java]"]
  node_login["Login exercise<br/>[Login.java]"]
  node_dropdown["Dropdown exercise"]
end

subgraph group_interfaces["Bank interfaces"]
  node_axis_bank["Axis Bank example<br/>[AxisBank.java]"]
  node_rbi_bank["RBI bank interface<br/>[RBIBank.java]"]
  node_rbi_bank2["RBI bank interface 2<br/>[RBIBank2.java]"]
end

node_learner(("Learner"))
node_browser(("Chrome browser"))
node_leaftaps(("Leaftaps site"))
node_leafground(("Leafground site"))

node_xpath_basics -->|"drives"| node_browser
node_xpath_basics -->|"navigates to"| node_leaftaps
node_xpath_advanced -->|"drives"| node_browser
node_xpath_advanced -->|"navigates to"| node_leaftaps
node_xpath_interactions -->|"drives"| node_browser
node_xpath_interactions -->|"navigates to"| node_leaftaps
node_login -->|"drives"| node_browser
node_login -->|"navigates to"| node_leaftaps
node_dropdown -->|"drives"| node_browser
node_dropdown -->|"navigates to"| node_leafground
node_axis_bank -->|"implements"| node_rbi_bank
node_axis_bank -->|"implements"| node_rbi_bank2

click node_objects "https://github.com/testleafpages/freshers_jan-24/blob/main/week1/day1/Car.java"
click node_calculations "https://github.com/testleafpages/freshers_jan-24/blob/main/week2/day1/Calculator.java"
click node_operators "https://github.com/testleafpages/freshers_jan-24/blob/main/week2/day2/LearnOperators.java"
click node_marks "https://github.com/testleafpages/freshers_jan-24/blob/main/week2/day2/StudentsMark.java"
click node_arrays "https://github.com/testleafpages/freshers_jan-24/blob/main/week3/day1/LearnArray.java"
click node_number_algorithms "https://github.com/testleafpages/freshers_jan-24/blob/main/week2/day3/PalindromeNumber.java"
click node_array_algorithms "https://github.com/testleafpages/freshers_jan-24/blob/main/week3/day1/FindDuplicate.java"
click node_patterns "https://github.com/testleafpages/freshers_jan-24/blob/main/week3/day1/day2/StarPattern.java"
click node_strings "https://github.com/testleafpages/freshers_jan-24/blob/main/week3/day3/LearnString.java"
click node_xpath_basics "https://github.com/testleafpages/freshers_jan-24/blob/main/week4/day1/LearnXpath.java"
click node_xpath_advanced "https://github.com/testleafpages/freshers_jan-24/blob/main/week4/day2/LearnAdvancedXpath.java"
click node_xpath_interactions "https://github.com/testleafpages/freshers_jan-24/blob/main/week4/day3/LearnXpath.java"
click node_login "https://github.com/testleafpages/freshers_jan-24/blob/main/week3/day4/Login.java"
click node_dropdown "https://github.com/testleafpages/freshers_jan-24/blob/main/week4/day5/DropDownUsingGetOptionsMethod.java"
click node_axis_bank "https://github.com/testleafpages/freshers_jan-24/blob/main/week4/day5/AxisBank.java"
click node_rbi_bank "https://github.com/testleafpages/freshers_jan-24/blob/main/week4/day5/RBIBank.java"
click node_rbi_bank2 "https://github.com/testleafpages/freshers_jan-24/blob/main/week4/day5/RBIBank2.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_objects,node_calculations,node_operators,node_marks,node_browser toneBlue
class node_arrays,node_number_algorithms,node_array_algorithms,node_patterns,node_strings toneAmber
class node_xpath_basics,node_xpath_advanced,node_xpath_interactions,node_login,node_dropdown toneMint
class node_axis_bank,node_rbi_bank,node_rbi_bank2 toneRose
class node_learner,node_leaftaps,node_leafground toneIndigo
```

## Components

### Java fundamentals

- [Objects and access](https://github.com/testleafpages/freshers_jan-24/blob/main/week1/day1/Car.java): `week1/day1/Car.java`
- [Calculations](https://github.com/testleafpages/freshers_jan-24/blob/main/week2/day1/Calculator.java): `week2/day1/Calculator.java`
- [Operators and selection](https://github.com/testleafpages/freshers_jan-24/blob/main/week2/day2/LearnOperators.java): `week2/day2/LearnOperators.java`
- [Student grading](https://github.com/testleafpages/freshers_jan-24/blob/main/week2/day2/StudentsMark.java): `week2/day2/StudentsMark.java`

### Algorithms and data

- [Array exercises](https://github.com/testleafpages/freshers_jan-24/blob/main/week3/day1/LearnArray.java): `week3/day1/LearnArray.java`
- [Number algorithms](https://github.com/testleafpages/freshers_jan-24/blob/main/week2/day3/PalindromeNumber.java): `week2/day3/PalindromeNumber.java`
- [Array challenges](https://github.com/testleafpages/freshers_jan-24/blob/main/week3/day1/FindDuplicate.java): `week3/day1/FindDuplicate.java`
- [Pattern exercises](https://github.com/testleafpages/freshers_jan-24/blob/main/week3/day1/day2/StarPattern.java): `week3/day1/day2/StarPattern.java`
- [String exercises](https://github.com/testleafpages/freshers_jan-24/blob/main/week3/day3/LearnString.java): `week3/day3/LearnString.java`

### Browser automation

- [XPath practice](https://github.com/testleafpages/freshers_jan-24/blob/main/week4/day1/LearnXpath.java): `week4/day1/LearnXpath.java`
- [Advanced XPath](https://github.com/testleafpages/freshers_jan-24/blob/main/week4/day2/LearnAdvancedXpath.java): `week4/day2/LearnAdvancedXpath.java`
- [Element interactions](https://github.com/testleafpages/freshers_jan-24/blob/main/week4/day3/LearnXpath.java): `week4/day3/LearnXpath.java`
- [Login exercise](https://github.com/testleafpages/freshers_jan-24/blob/main/week3/day4/Login.java): `week3/day4/Login.java`
- [Dropdown exercise](https://github.com/testleafpages/freshers_jan-24/blob/main/week4/day5/DropDownUsingGetOptionsMethod.java): `week4/day5/DropDownUsingGetOptionsMethod.java`

### Bank interfaces

- [Axis Bank example](https://github.com/testleafpages/freshers_jan-24/blob/main/week4/day5/AxisBank.java): `week4/day5/AxisBank.java`
- [RBI bank interface](https://github.com/testleafpages/freshers_jan-24/blob/main/week4/day5/RBIBank.java): `week4/day5/RBIBank.java`
- [RBI bank interface 2](https://github.com/testleafpages/freshers_jan-24/blob/main/week4/day5/RBIBank2.java): `week4/day5/RBIBank2.java`

### Other components

- **Learner**
- **Chrome browser**
- **Leaftaps site**
- **Leafground site**

## Connections

- XPath practice → Chrome browser: drives (evidence: `week4/day1/LearnXpath.java`)
- XPath practice → Leaftaps site: navigates to (evidence: `week4/day1/LearnXpath.java`)
- Advanced XPath → Chrome browser: drives (evidence: `week4/day2/LearnAdvancedXpath.java`)
- Advanced XPath → Leaftaps site: navigates to (evidence: `week4/day2/LearnAdvancedXpath.java`)
- Element interactions → Chrome browser: drives (evidence: `week4/day3/LearnXpath.java`)
- Element interactions → Leaftaps site: navigates to (evidence: `week4/day3/LearnXpath.java`)
- Login exercise → Chrome browser: drives (evidence: `week3/day4/Login.java`)
- Login exercise → Leaftaps site: navigates to (evidence: `week3/day4/Login.java`)
- Dropdown exercise → Chrome browser: drives (evidence: `week4/day5/DropDownUsingGetOptionsMethod.java`)
- Dropdown exercise → Leafground site: navigates to (evidence: `week4/day5/DropDownUsingGetOptionsMethod.java`)
- Axis Bank example → RBI bank interface: implements (evidence: `week4/day5/AxisBank.java`)
- Axis Bank example → RBI bank interface 2: implements (evidence: `week4/day5/AxisBank.java`)
