# sushanth0298/alta-school-3-5-sem architecture

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

- Interactive diagram: https://gitdiagram.com/sushanth0298/alta-school-3-5-sem
- Repository: https://github.com/sushanth0298/alta-school-3-5-sem

## Overview

This repository is a classroom collection of Java examples and practice programs, not a single application with one user-to-result workflow. Learners can explore foundational language features, object-oriented concepts, collections, and functional programming through separate demonstrations. The graph preserves the README’s major topic areas and highlights sampled demo entry points and their documented calls. Many files are unsampled, so relationships within those topic areas are left unspecified rather than inferred.

Main entry points: [`src/com/university/java/semester5/collections/Main.java`](https://github.com/sushanth0298/alta-school-3-5-sem/blob/main/src/com/university/java/semester5/collections/Main.java) (Collection Demos), [`src/com/university/java/semester3and5/encapsulation/advanced/Main.java`](https://github.com/sushanth0298/alta-school-3-5-sem/blob/main/src/com/university/java/semester3and5/encapsulation/advanced/Main.java) (Bank Demo), [`src/com/university/java/semester3and5/encapsulation/advanced/BankAccount.java`](https://github.com/sushanth0298/alta-school-3-5-sem/blob/main/src/com/university/java/semester3and5/encapsulation/advanced/BankAccount.java) (Bank Account), [`src/com/university/java/semester5/lambda/Main.java`](https://github.com/sushanth0298/alta-school-3-5-sem/blob/main/src/com/university/java/semester5/lambda/Main.java) (Lambda Demo)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_foundations["Java Foundations"]
  node_basics["Basics &amp; Types"]
  node_strings["Strings"]
  node_members["Class Members"]
end

subgraph group_object_design["Object-Oriented Design"]
  node_constructors["Constructors"]
  node_encapsulation_basic["Basic Account<br/>[Account.java]"]
  node_encapsulation_basic_demo["Account Demo<br/>[Main.java]"]
  node_bank_account["Bank Account<br/>[BankAccount.java]"]
  node_bank_transactions["Transactions"]
  node_bank_exception["Funds Exception"]
  node_bank_demo["Bank Demo<br/>[Main.java]"]
  node_abstraction["Shape Abstraction<br/>[Shape.java]"]
  node_shape_demo["Shape Demo<br/>[Main.java]"]
end

subgraph group_inheritance_polymorphism["Inheritance &amp; Polymorphism"]
  node_inheritance_animal["Animal Inheritance<br/>[Animal.java]"]
  node_inheritance_multilevel["Multilevel Versions<br/>[Version1.java]"]
  node_inheritance_other["Inheritance Examples"]
  node_polymorphism["Polymorphism<br/>[AndroidOS.java]"]
  node_polymorphism_demo["Polymorphism Demo<br/>[Main.java]"]
  node_interfaces["Interfaces"]
  node_extended_interfaces["Extended Interfaces"]
end

subgraph group_collections["Collections &amp; Practice"]
  node_collections_demo["Collection Demos<br/>[Main.java]"]
  node_arraylist["ArrayList<br/>[ArrayListDemo.java]"]
  node_linkedlist["LinkedList"]
  node_hashset["HashSet<br/>[HashSetDemo.java]"]
  node_hashmap["HashMap<br/>[HashMapDemo.java]"]
  node_coding_practice["Coding Practice"]
end

subgraph group_functional["Functional Java"]
  node_lambda_demo["Lambda Demo<br/>[Main.java]"]
  node_lambda_sorting["Sorting Demo<br/>[SortingDemo.java]"]
  node_lambda_interfaces["Functional Interfaces"]
end

node_learner(("Learner"))

node_encapsulation_basic_demo -->|"uses account"| node_encapsulation_basic
node_bank_demo -->|"creates account"| node_bank_account
node_bank_demo -->|"calls transactions"| node_bank_transactions
node_bank_demo -->|"catches exception"| node_bank_exception
node_bank_account -->|"throws exception"| node_bank_exception
node_bank_transactions -->|"operates on"| node_bank_account
node_shape_demo -->|"uses shapes"| node_abstraction
node_inheritance_multilevel -->|"extends versions"| node_inheritance_other
node_polymorphism_demo -->|"dispatches examples"| node_polymorphism
node_collections_demo -->|"runs demo"| node_arraylist
node_collections_demo -->|"runs demo"| node_linkedlist
node_collections_demo -->|"runs demo"| node_hashset
node_collections_demo -->|"runs demo"| node_hashmap
node_collections_demo -->|"calls exercises"| node_coding_practice
node_lambda_demo -->|"runs sorting"| node_lambda_sorting
node_lambda_demo -->|"uses interfaces"| node_lambda_interfaces

click node_basics "https://github.com/sushanth0298/alta-school-3-5-sem/tree/main/src/com/university/java/semester3and5/basics"
click node_strings "https://github.com/sushanth0298/alta-school-3-5-sem/tree/main/src/com/university/java/semester3and5/strings"
click node_members "https://github.com/sushanth0298/alta-school-3-5-sem/tree/main/src/com/university/java/semester3and5/members"
click node_constructors "https://github.com/sushanth0298/alta-school-3-5-sem/tree/main/src/com/university/java/semester3and5/constructors"
click node_encapsulation_basic "https://github.com/sushanth0298/alta-school-3-5-sem/blob/main/src/com/university/java/semester3and5/encapsulation/basic/Account.java"
click node_encapsulation_basic_demo "https://github.com/sushanth0298/alta-school-3-5-sem/blob/main/src/com/university/java/semester3and5/encapsulation/basic/Main.java"
click node_bank_account "https://github.com/sushanth0298/alta-school-3-5-sem/blob/main/src/com/university/java/semester3and5/encapsulation/advanced/BankAccount.java"
click node_bank_transactions "https://github.com/sushanth0298/alta-school-3-5-sem/blob/main/src/com/university/java/semester3and5/encapsulation/advanced/TransactionUtil.java"
click node_bank_exception "https://github.com/sushanth0298/alta-school-3-5-sem/blob/main/src/com/university/java/semester3and5/encapsulation/advanced/InsufficientFundsException.java"
click node_bank_demo "https://github.com/sushanth0298/alta-school-3-5-sem/blob/main/src/com/university/java/semester3and5/encapsulation/advanced/Main.java"
click node_abstraction "https://github.com/sushanth0298/alta-school-3-5-sem/blob/main/src/com/university/java/semester3and5/abstraction/Shape.java"
click node_shape_demo "https://github.com/sushanth0298/alta-school-3-5-sem/blob/main/src/com/university/java/semester3and5/abstraction/Main.java"
click node_inheritance_animal "https://github.com/sushanth0298/alta-school-3-5-sem/blob/main/src/com/university/java/semester3and5/inheritance/animalexample/Animal.java"
click node_inheritance_multilevel "https://github.com/sushanth0298/alta-school-3-5-sem/blob/main/src/com/university/java/semester3and5/inheritance/multilevel/Version1.java"
click node_inheritance_other "https://github.com/sushanth0298/alta-school-3-5-sem/tree/main/src/com/university/java/semester3and5/inheritance"
click node_polymorphism "https://github.com/sushanth0298/alta-school-3-5-sem/blob/main/src/com/university/java/semester3and5/polymorphism/AndroidOS.java"
click node_polymorphism_demo "https://github.com/sushanth0298/alta-school-3-5-sem/blob/main/src/com/university/java/semester3and5/polymorphism/Main.java"
click node_interfaces "https://github.com/sushanth0298/alta-school-3-5-sem/tree/main/src/com/university/java/semester3and5/interfacedemo"
click node_extended_interfaces "https://github.com/sushanth0298/alta-school-3-5-sem/tree/main/src/com/university/java/semester5/interfaceextended"
click node_collections_demo "https://github.com/sushanth0298/alta-school-3-5-sem/blob/main/src/com/university/java/semester5/collections/Main.java"
click node_arraylist "https://github.com/sushanth0298/alta-school-3-5-sem/blob/main/src/com/university/java/semester5/collections/ArrayListDemo.java"
click node_linkedlist "https://github.com/sushanth0298/alta-school-3-5-sem/blob/main/src/com/university/java/semester5/collections/LinkedListDemo.java"
click node_hashset "https://github.com/sushanth0298/alta-school-3-5-sem/blob/main/src/com/university/java/semester5/collections/HashSetDemo.java"
click node_hashmap "https://github.com/sushanth0298/alta-school-3-5-sem/blob/main/src/com/university/java/semester5/collections/HashMapDemo.java"
click node_coding_practice "https://github.com/sushanth0298/alta-school-3-5-sem/blob/main/src/com/university/java/semester5/collections/CodingBatSolutions.java"
click node_lambda_demo "https://github.com/sushanth0298/alta-school-3-5-sem/blob/main/src/com/university/java/semester5/lambda/Main.java"
click node_lambda_sorting "https://github.com/sushanth0298/alta-school-3-5-sem/blob/main/src/com/university/java/semester5/lambda/SortingDemo.java"
click node_lambda_interfaces "https://github.com/sushanth0298/alta-school-3-5-sem/tree/main/src/com/university/java/semester5/lambda"

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_basics,node_strings,node_members toneBlue
class node_constructors,node_encapsulation_basic,node_encapsulation_basic_demo,node_bank_account,node_bank_transactions,node_bank_exception,node_bank_demo,node_abstraction,node_shape_demo toneAmber
class node_inheritance_animal,node_inheritance_multilevel,node_inheritance_other,node_polymorphism,node_polymorphism_demo,node_interfaces,node_extended_interfaces toneMint
class node_collections_demo,node_arraylist,node_linkedlist,node_hashset,node_hashmap,node_coding_practice toneRose
class node_lambda_demo,node_lambda_sorting,node_lambda_interfaces,node_learner toneIndigo
```

## Components

### Java Foundations

- [Basics & Types](https://github.com/sushanth0298/alta-school-3-5-sem/tree/main/src/com/university/java/semester3and5/basics): `src/com/university/java/semester3and5/basics`
- [Strings](https://github.com/sushanth0298/alta-school-3-5-sem/tree/main/src/com/university/java/semester3and5/strings): `src/com/university/java/semester3and5/strings`
- [Class Members](https://github.com/sushanth0298/alta-school-3-5-sem/tree/main/src/com/university/java/semester3and5/members): `src/com/university/java/semester3and5/members`

### Object-Oriented Design

- [Constructors](https://github.com/sushanth0298/alta-school-3-5-sem/tree/main/src/com/university/java/semester3and5/constructors): `src/com/university/java/semester3and5/constructors`
- [Basic Account](https://github.com/sushanth0298/alta-school-3-5-sem/blob/main/src/com/university/java/semester3and5/encapsulation/basic/Account.java): `src/com/university/java/semester3and5/encapsulation/basic/Account.java`
- [Account Demo](https://github.com/sushanth0298/alta-school-3-5-sem/blob/main/src/com/university/java/semester3and5/encapsulation/basic/Main.java): `src/com/university/java/semester3and5/encapsulation/basic/Main.java`
- [Bank Account](https://github.com/sushanth0298/alta-school-3-5-sem/blob/main/src/com/university/java/semester3and5/encapsulation/advanced/BankAccount.java): `src/com/university/java/semester3and5/encapsulation/advanced/BankAccount.java`
- [Transactions](https://github.com/sushanth0298/alta-school-3-5-sem/blob/main/src/com/university/java/semester3and5/encapsulation/advanced/TransactionUtil.java): `src/com/university/java/semester3and5/encapsulation/advanced/TransactionUtil.java`
- [Funds Exception](https://github.com/sushanth0298/alta-school-3-5-sem/blob/main/src/com/university/java/semester3and5/encapsulation/advanced/InsufficientFundsException.java): `src/com/university/java/semester3and5/encapsulation/advanced/InsufficientFundsException.java`
- [Bank Demo](https://github.com/sushanth0298/alta-school-3-5-sem/blob/main/src/com/university/java/semester3and5/encapsulation/advanced/Main.java): `src/com/university/java/semester3and5/encapsulation/advanced/Main.java`
- [Shape Abstraction](https://github.com/sushanth0298/alta-school-3-5-sem/blob/main/src/com/university/java/semester3and5/abstraction/Shape.java): `src/com/university/java/semester3and5/abstraction/Shape.java`
- [Shape Demo](https://github.com/sushanth0298/alta-school-3-5-sem/blob/main/src/com/university/java/semester3and5/abstraction/Main.java): `src/com/university/java/semester3and5/abstraction/Main.java`

### Inheritance & Polymorphism

- [Animal Inheritance](https://github.com/sushanth0298/alta-school-3-5-sem/blob/main/src/com/university/java/semester3and5/inheritance/animalexample/Animal.java): `src/com/university/java/semester3and5/inheritance/animalexample/Animal.java`
- [Multilevel Versions](https://github.com/sushanth0298/alta-school-3-5-sem/blob/main/src/com/university/java/semester3and5/inheritance/multilevel/Version1.java): `src/com/university/java/semester3and5/inheritance/multilevel/Version1.java`
- [Inheritance Examples](https://github.com/sushanth0298/alta-school-3-5-sem/tree/main/src/com/university/java/semester3and5/inheritance): `src/com/university/java/semester3and5/inheritance`
- [Polymorphism](https://github.com/sushanth0298/alta-school-3-5-sem/blob/main/src/com/university/java/semester3and5/polymorphism/AndroidOS.java): `src/com/university/java/semester3and5/polymorphism/AndroidOS.java`
- [Polymorphism Demo](https://github.com/sushanth0298/alta-school-3-5-sem/blob/main/src/com/university/java/semester3and5/polymorphism/Main.java): `src/com/university/java/semester3and5/polymorphism/Main.java`
- [Interfaces](https://github.com/sushanth0298/alta-school-3-5-sem/tree/main/src/com/university/java/semester3and5/interfacedemo): `src/com/university/java/semester3and5/interfacedemo`
- [Extended Interfaces](https://github.com/sushanth0298/alta-school-3-5-sem/tree/main/src/com/university/java/semester5/interfaceextended): `src/com/university/java/semester5/interfaceextended`

### Collections & Practice

- [Collection Demos](https://github.com/sushanth0298/alta-school-3-5-sem/blob/main/src/com/university/java/semester5/collections/Main.java): `src/com/university/java/semester5/collections/Main.java`
- [ArrayList](https://github.com/sushanth0298/alta-school-3-5-sem/blob/main/src/com/university/java/semester5/collections/ArrayListDemo.java): `src/com/university/java/semester5/collections/ArrayListDemo.java`
- [LinkedList](https://github.com/sushanth0298/alta-school-3-5-sem/blob/main/src/com/university/java/semester5/collections/LinkedListDemo.java): `src/com/university/java/semester5/collections/LinkedListDemo.java`
- [HashSet](https://github.com/sushanth0298/alta-school-3-5-sem/blob/main/src/com/university/java/semester5/collections/HashSetDemo.java): `src/com/university/java/semester5/collections/HashSetDemo.java`
- [HashMap](https://github.com/sushanth0298/alta-school-3-5-sem/blob/main/src/com/university/java/semester5/collections/HashMapDemo.java): `src/com/university/java/semester5/collections/HashMapDemo.java`
- [Coding Practice](https://github.com/sushanth0298/alta-school-3-5-sem/blob/main/src/com/university/java/semester5/collections/CodingBatSolutions.java): `src/com/university/java/semester5/collections/CodingBatSolutions.java`

### Functional Java

- [Lambda Demo](https://github.com/sushanth0298/alta-school-3-5-sem/blob/main/src/com/university/java/semester5/lambda/Main.java): `src/com/university/java/semester5/lambda/Main.java`
- [Sorting Demo](https://github.com/sushanth0298/alta-school-3-5-sem/blob/main/src/com/university/java/semester5/lambda/SortingDemo.java): `src/com/university/java/semester5/lambda/SortingDemo.java`
- [Functional Interfaces](https://github.com/sushanth0298/alta-school-3-5-sem/tree/main/src/com/university/java/semester5/lambda): `src/com/university/java/semester5/lambda`

### Other components

- **Learner**

## Connections

- Account Demo → Basic Account: uses account (evidence: `src/com/university/java/semester3and5/encapsulation/basic/Main.java`)
- Bank Demo → Bank Account: creates account (evidence: `src/com/university/java/semester3and5/encapsulation/advanced/Main.java`)
- Bank Demo → Transactions: calls transactions (evidence: `src/com/university/java/semester3and5/encapsulation/advanced/Main.java`)
- Bank Demo → Funds Exception: catches exception (evidence: `src/com/university/java/semester3and5/encapsulation/advanced/Main.java`)
- Bank Account → Funds Exception: throws exception (evidence: `src/com/university/java/semester3and5/encapsulation/advanced/BankAccount.java`)
- Transactions → Bank Account: operates on (evidence: `src/com/university/java/semester3and5/encapsulation/advanced/TransactionUtil.java`)
- Shape Demo → Shape Abstraction: uses shapes (evidence: `src/com/university/java/semester3and5/abstraction/Main.java`)
- Multilevel Versions → Inheritance Examples: extends versions (evidence: `src/com/university/java/semester3and5/inheritance/multilevel/Version2.java`)
- Polymorphism Demo → Polymorphism: dispatches examples (evidence: `src/com/university/java/semester3and5/polymorphism/Main.java`)
- Collection Demos → ArrayList: runs demo (evidence: `src/com/university/java/semester5/collections/Main.java`)
- Collection Demos → LinkedList: runs demo (evidence: `src/com/university/java/semester5/collections/Main.java`)
- Collection Demos → HashSet: runs demo (evidence: `src/com/university/java/semester5/collections/Main.java`)
- Collection Demos → HashMap: runs demo (evidence: `src/com/university/java/semester5/collections/Main.java`)
- Collection Demos → Coding Practice: calls exercises (evidence: `src/com/university/java/semester5/collections/Main.java`)
- Lambda Demo → Sorting Demo: runs sorting (evidence: `src/com/university/java/semester5/lambda/Main.java`)
- Lambda Demo → Functional Interfaces: uses interfaces (evidence: `src/com/university/java/semester5/lambda/Main.java`)
