← Back to the lab

Experiment 04 / Early Java practice

Mobile comparison

A Java console tool that prints phone specification sheets and sets two of them side by side.

Written

2023

Rahul’s contribution

Coursework project. Written in a single Java class.

Repositoryrahulm16 / mobile-comparison

01 / The problem

What it set
out to do.

Choosing a phone means comparing the same ten attributes across models, and pricing that changes with the storage and color you pick.

System sketch / conceptual04 connected stages
  1. 01Choose a model
  2. 02Choose a variant
  3. 03Specification sheet
  4. 04Compare two phones

A simplified view of how the code is organized, not a production infrastructure diagram.

02 / The approach

Decisions beneath
the surface.

  1. 01

    Hold each model as a structured specification sheet: display, processor, camera, battery, connectivity, dimensions.

  2. 02

    Ask for storage and color first, then resolve the price for that exact variant.

  3. 03

    Offer the comparison as the next step, so two sheets can be read against each other.

03 / Inside the repository

Where to look
in the code.

  • LATEST_MOBILES.java

    The full program: specification data, variant pricing, menu input and the comparison step.

04 / Technologies

The working set.

Java

05 / What it left behind

An early Java exercise in structuring data and branching logic around a decision someone actually makes.

Source notes

Described from the source file. The specifications and prices are the ones written into the 2023 program and are not maintained.

Continue exploring / next experimentSavvyAI
THE SYSTEMS ATLAS / INDEX
RAHUL.SYS / TERMINAL

A small door into the atlas. Type help to begin.