Skip to content

A beginner-friendly journey into core Java concepts — from variables and user input to conditionals, math operations, and mini projects like a Mad Libs game, shopping cart, and converters. Perfect for building a solid foundation in Java programming.

Notifications You must be signed in to change notification settings

Suhagshetty/Java-2023-BroCode-learnings

Repository files navigation

☕ Old Java Learning — Introduction to Java

Welcome to my Java learning repository!
This repo documents my journey through the fundamentals of Java programming, from basic syntax to mini hands-on projects.
Each lesson includes example code and exercises that gradually build up my understanding of core Java concepts.


🎯 Objective

To gain a strong foundation in Java programming, covering variables, conditionals, input/output, math operations, and small interactive programs — all through hands-on coding examples.


📚 Topics Covered

# Timestamp Topic Description
1 00:00:00 Introduction to Java Basic setup, structure of a Java program, and running the first “Hello World”.
2 00:10:58 Variables ❎ Understanding data types, declaration, initialization, and naming conventions.
3 00:31:30 User Input ⌨️ Taking input from users using the Scanner class.
4 00:47:25 Mad Libs Game 📕 A fun mini-project combining string concatenation and user input.
5 00:54:08 Arithmetic 🧮 Performing basic math operations and understanding operator precedence.
6 01:02:29 Shopping Cart Program 🛒 Simple calculator-style project simulating a basic checkout system.
7 01:09:00 If Statements 🤔 Conditional logic and branching in Java.
8 01:22:28 Random Numbers 🔀 Using the Random class to generate random values.
9 01:27:28 Math Class 📐 Exploring built-in math functions in Java.
10 01:42:37 Printf 🖨️ Formatted output using System.out.printf().
11 01:56:14 Compound Interest Calculator 💸 Real-world financial calculator using arithmetic and user input.
12 02:03:47 Nested If Statements 🎟️ Handling multiple layers of conditional checks.
13 02:10:20 String Methods 🧵 Using built-in methods to manipulate and analyze strings.
14 02:18:55 Substrings 📧 Extracting and combining parts of strings.
15 02:27:00 Weight Converter 🏋️ Mini-project converting weight between kilograms and pounds.
16 02:35:19 Ternary Operator ❔ Short-form conditional expressions in Java.
17 02:41:10 Temperature Converter 🌡️ Interactive project converting between Celsius and Fahrenheit.

🧩 Highlights

  • Hands-on exercises for each concept.
  • ⭐ Mini projects after every few topics to reinforce learning.
  • Focus on real-world logic and clean code structure.
  • Beginner-friendly code with comments and examples.

🛠️ Tools & Technologies

  • Language: Java (JDK 21+)
  • IDE: VS Code / IntelliJ IDEA
  • Compiler: javac
  • Runtime: Java Virtual Machine (JVM)

🚀 How to Run

  1. Clone the repository:
    git clone https://github.com/<your-username>/old-java-learning.git
    cd old-java-learning

About

A beginner-friendly journey into core Java concepts — from variables and user input to conditionals, math operations, and mini projects like a Mad Libs game, shopping cart, and converters. Perfect for building a solid foundation in Java programming.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages