# imshubamjalotra/javabasics architecture

> Architecture diagram of the GitHub repository imshubamjalotra/javabasics, 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/imshubamjalotra/javabasics
- Repository: https://github.com/imshubamjalotra/javabasics

## Overview

JavaBasics is a set of independent Java teaching examples, not an application with a shared user-to-result workflow. Each example demonstrates a language feature or API in its own main method; the sampled code shows local input/output and object use, but no repository-wide orchestration. The graph groups the tutorials by topic and retains the major areas visible in the tree and source index. Relationships between examples are omitted because they are standalone; unsampled examples are represented at their existing source directories.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_fundamentals["Language Fundamentals"]
  node_hello["Hello World<br/>[hi.java]"]
  node_variables["Variables and Types"]
  node_operators["Operators"]
  node_conditionals["Conditions<br/>[Switch.java]"]
  node_loops["Loops<br/>[WhileLoop.java]"]
  node_methods["Methods and Arguments<br/>[Method.java]"]
  node_varargs["Variable Arguments<br/>[VarArgsDemo.java]"]
  node_dates["Date Example<br/>[Date.java]"]
  node_wrappers["Wrapper and Parsing<br/>[WrapperClass.java]"]
end

subgraph group_oop["Object-Oriented Java"]
  node_classes["Classes and Objects"]
  node_inheritance["Inheritance and Dispatch"]
  node_interfaces["Interfaces"]
  node_innerclasses["Inner Classes"]
  node_encapsulation["Encapsulation"]
  node_staticfinal["Static and Final<br/>[StaticDemo.java]"]
end

subgraph group_collections["Collections"]
  node_collections["Collections and Generics"]
end

subgraph group_concurrency["Concurrency"]
  node_threads["Thread Examples"]
end

subgraph group_exceptions["Exceptions and Strings"]
  node_exceptions["Exception Handling"]
  node_strings["String Operations"]
end

click node_hello "https://github.com/imshubamjalotra/javabasics/blob/main/HelloWorld/src/hi.java"
click node_variables "https://github.com/imshubamjalotra/javabasics/blob/main/User_Input/src/UserDefineVariable.java"
click node_operators "https://github.com/imshubamjalotra/javabasics/blob/main/LogicalOperator/src/LogicalOperator.java"
click node_conditionals "https://github.com/imshubamjalotra/javabasics/blob/main/Switch/src/Switch.java"
click node_loops "https://github.com/imshubamjalotra/javabasics/blob/main/WhileLoop/src/WhileLoop.java"
click node_methods "https://github.com/imshubamjalotra/javabasics/blob/main/Method/src/Method.java"
click node_varargs "https://github.com/imshubamjalotra/javabasics/blob/main/VarArgs/src/VarArgsDemo.java"
click node_dates "https://github.com/imshubamjalotra/javabasics/blob/main/Date/src/Date.java"
click node_classes "https://github.com/imshubamjalotra/javabasics/tree/main/OOPS/src"
click node_inheritance "https://github.com/imshubamjalotra/javabasics/tree/main/InheritanceDemo/src"
click node_interfaces "https://github.com/imshubamjalotra/javabasics/tree/main/Interface/src"
click node_innerclasses "https://github.com/imshubamjalotra/javabasics/tree/main/InnerClass/src"
click node_encapsulation "https://github.com/imshubamjalotra/javabasics/blob/main/Encapsulation/src/EncapsulationDemo.java"
click node_staticfinal "https://github.com/imshubamjalotra/javabasics/blob/main/StaticKeyword/src/StaticDemo.java"
click node_collections "https://github.com/imshubamjalotra/javabasics/tree/main/CollectionAndGenerics/src"
click node_threads "https://github.com/imshubamjalotra/javabasics/tree/main/Multithrerading/src"
click node_exceptions "https://github.com/imshubamjalotra/javabasics/tree/main/TryCatchExceptionHandling/src"
click node_strings "https://github.com/imshubamjalotra/javabasics/tree/main/UserDefineString/src"
click node_wrappers "https://github.com/imshubamjalotra/javabasics/blob/main/WrapperClass/src/WrapperClass.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_hello,node_variables,node_operators,node_conditionals,node_loops,node_methods,node_varargs,node_dates,node_wrappers toneBlue
class node_classes,node_inheritance,node_interfaces,node_innerclasses,node_encapsulation,node_staticfinal toneAmber
class node_collections toneMint
class node_threads toneRose
class node_exceptions,node_strings toneIndigo
```

## Components

### Language Fundamentals

- [Hello World](https://github.com/imshubamjalotra/javabasics/blob/main/HelloWorld/src/hi.java): `HelloWorld/src/hi.java`
- [Variables and Types](https://github.com/imshubamjalotra/javabasics/blob/main/User_Input/src/UserDefineVariable.java): `User_Input/src/UserDefineVariable.java`
- [Operators](https://github.com/imshubamjalotra/javabasics/blob/main/LogicalOperator/src/LogicalOperator.java): `LogicalOperator/src/LogicalOperator.java`
- [Conditions](https://github.com/imshubamjalotra/javabasics/blob/main/Switch/src/Switch.java): `Switch/src/Switch.java`
- [Loops](https://github.com/imshubamjalotra/javabasics/blob/main/WhileLoop/src/WhileLoop.java): `WhileLoop/src/WhileLoop.java`
- [Methods and Arguments](https://github.com/imshubamjalotra/javabasics/blob/main/Method/src/Method.java): `Method/src/Method.java`
- [Variable Arguments](https://github.com/imshubamjalotra/javabasics/blob/main/VarArgs/src/VarArgsDemo.java): `VarArgs/src/VarArgsDemo.java`
- [Date Example](https://github.com/imshubamjalotra/javabasics/blob/main/Date/src/Date.java): `Date/src/Date.java`
- [Wrapper and Parsing](https://github.com/imshubamjalotra/javabasics/blob/main/WrapperClass/src/WrapperClass.java): `WrapperClass/src/WrapperClass.java`

### Object-Oriented Java

- [Classes and Objects](https://github.com/imshubamjalotra/javabasics/tree/main/OOPS/src): `OOPS/src`
- [Inheritance and Dispatch](https://github.com/imshubamjalotra/javabasics/tree/main/InheritanceDemo/src): `InheritanceDemo/src`
- [Interfaces](https://github.com/imshubamjalotra/javabasics/tree/main/Interface/src): `Interface/src`
- [Inner Classes](https://github.com/imshubamjalotra/javabasics/tree/main/InnerClass/src): `InnerClass/src`
- [Encapsulation](https://github.com/imshubamjalotra/javabasics/blob/main/Encapsulation/src/EncapsulationDemo.java): `Encapsulation/src/EncapsulationDemo.java`
- [Static and Final](https://github.com/imshubamjalotra/javabasics/blob/main/StaticKeyword/src/StaticDemo.java): `StaticKeyword/src/StaticDemo.java`

### Collections

- [Collections and Generics](https://github.com/imshubamjalotra/javabasics/tree/main/CollectionAndGenerics/src): `CollectionAndGenerics/src`

### Concurrency

- [Thread Examples](https://github.com/imshubamjalotra/javabasics/tree/main/Multithrerading/src): `Multithrerading/src`

### Exceptions and Strings

- [Exception Handling](https://github.com/imshubamjalotra/javabasics/tree/main/TryCatchExceptionHandling/src): `TryCatchExceptionHandling/src`
- [String Operations](https://github.com/imshubamjalotra/javabasics/tree/main/UserDefineString/src): `UserDefineString/src`
