user100DaysOfCode
CommunityDevTermsResources|Login

Loading

Java Roadmap

Join the 100 day Java coding challenge. Master Java with daily challenges, projects, and expert guidance.
Start coding today!

Day 1: Hello World
Day 2: Variables and Data Types
Day 3: Input and Output
Day 4: Basic Arithmetic Operations
Day 5: Compound Assignment Operators
Day 6: Type Conversion
Day 7: Math Operations
Day 8: Conditional Statements (if-else)
Day 9: Switch Statement
Day 10: Loops (for, while, do-while)
Day 11: String Manipulation
Day 12: StringBuffer and StringBuilder
Day 13: Arrays
Day 14: 2D-Arrays
Day 15: ArrayList
Day 16: Enums
Day 17: Date
Day 18: Functions
Day 19: Random Number Generation
Day 20: Set/HashSet
Day 21: HashMap
Day 22: Stack
Day 23: Queue
Day 24: Object-Oriented Programming (OOP)
Day 25: Simple Class
Day 26: Constructors
Day 27: Inheritance
Day 28: Method Overloading
Day 29: Method Overriding
Day 30: Abstract Class
Day 31: Interface
Day 32: Polymorphism
Day 33: Serialization and Deserialization
Day 34: Annotations
Day 35: Working with Files
Day 36: File I/O
Day 37: File I/O
Day 38: Exception Handling
Day 39: Streams and Lambdas
Day 40: Multithreading
Day 41: Regular Expressions
Day 42: JDBC (Java Database Connectivity): Introduction
Day 43: JDBC: CRUD Operations
Day 44: JDBC: Prepared Statements and Transactions
Day 45: JDBC: ResultSet and Metadata
Day 46: JDBC: Advanced Concepts
Day 47: Spring Boot: Foundations
Day 48: Spring Boot: REST API with Spring MVC
Day 49: Spring Boot: Data Persistence with JPA
Day 50: Spring Boot: CRUD Operations with Spring Data JPA
Day 51: Spring Boot: Advanced

Join the 100 day Java coding challenge. Master Java with daily challenges, projects, and expert guidance.
Start coding today!

Day 1 - Hello World

1. Write a program that prints "Hello World!" to the console
2. Add single line and multi-line comments to your code

Reading List:
1. Learn the difference between Java and Python
2. What is a Java compiler and how does it work?
3. Difference between Compiler and Interpreter

Day 2 - Variables and Data Types

1. Declare and initialize variables for various data types including integer (int), floating-point number (double), and string (String). Then, print each variable to the console.

Reading List:
1. Learn the terms: initialization, declaration and assignment of variables
2. Learn the difference between Primitive and Non-Primitive data types
3. Default values and sizes of primitive data types

Day 3 - Input and Output

1. Write a program that reads user input and print it to the console.
2. Modify the program to read and print different data type inputs (integers, floating-point numbers, strings)
3. Write a program to read the user input using Scanner class

Reading List:
1. Explore various methods for reading different type of inputs

Day 4 - Basic Arithmetic Operations

1. Write a program that declares two integer variables and perform basic arithmetic operations (addition, subtraction, multiplication, division) on them. Print the results to the console.
2. Write a program that calculates the area of a rectangle. Prompt the user to input the length(integer) and width(integer) of the rectangle, calculate the area (length * width), and print the result.
3. Modify the above program to read decimal numbers as the length and width, and output the area to two decimal points

Reading List:
1. Learn about formatting options such as precision, alignment, and decimal places to present output in a clear and concise manner

Day 5 - Compound Assignment Operators

1. Write a program that utilizes increment(++) and decrement(--) operators.
2. Write a program that utilizes the following compound operators +=, -=, *=, /=, and %=.

Day 6 - Type Conversion

Write a program that performs the following tasks:
  • Convert a String to an Integer
  • Convert a String to a Float
  • Convert an Integer to a String using valueOf() method
  • Convert an Integer to a String using toString() method

Day 7 - Math Operations

Write a program that performs the following tasks using Math class:
  • Maximum of 2 numbers
  • Minimum of 2 numbers
  • Square root of a number
  • Floor and Ceil of a float
  • Abs value of a double

Day 8 - Conditional Statements (if-else)

1. Write a program that reads an integer as user input and prints whether the number is Odd or Even to the console
2. Write a program that takes three numbers as input and prints the largest among them
3. Write a program that checks if a given input year is a leap year or not

Day 9 - Switch Statement

1. Write a program that reads the percentage and then prints their corresponding letter grade (A, B, C, D, or F) using switch statement

Reading List:
1. Understand the advantages and drawbacks of if-else and switch statements

Day 10 - Loops (for, while, do-while)

1. Write a program that reads an input integer 'n' and prints the sum of integers from 1 to 'n' using three different types of loops: for, while, and do-while loops.
2. Write a program that reads an input integer 'n' and prints the sum of even integers from 1 to 'n' (use continue).
3. Write a program that generates random numbers between 1 and 100 until it finds a number divisible by both 5 and 7. When the number is found, print it and terminate the loop using the break statement.

Day 11 - String Manipulation

This content is locked. Please login to view it

Day 12 - StringBuffer and StringBuilder

This content is locked. Please login to view it

Day 13 - Arrays

This content is locked. Please login to view it

Day 14 - 2D-Arrays

This content is locked. Please login to view it

Day 15 - ArrayList

This content is locked. Please login to view it

Day 16 - Enums

This content is locked. Please login to view it

Day 17 - Date

This content is locked. Please login to view it

Day 18 - Functions

This content is locked. Please login to view it

Day 19 - Random Number Generation

This content is locked. Please login to view it

Day 20 - Set/HashSet

This content is locked. Please login to view it

Day 21 - HashMap

This content is locked. Please login to view it

Day 22 - Stack

This content is locked. Please login to view it

Day 23 - Queue

This content is locked. Please login to view it

Day 24 - Object-Oriented Programming (OOP)

This content is locked. Please login to view it

Day 25 - Simple Class

This content is locked. Please login to view it

Day 26 - Constructors

This content is locked. Please login to view it

Day 27 - Inheritance

This content is locked. Please login to view it

Day 28 - Method Overloading

This content is locked. Please login to view it

Day 29 - Method Overriding

This content is locked. Please login to view it

Day 30 - Abstract Class

This content is locked. Please login to view it

Day 31 - Interface

This content is locked. Please login to view it

Day 32 - Polymorphism

This content is locked. Please login to view it

Day 33 - Serialization and Deserialization

This content is locked. Please login to view it

Day 34 - Annotations

This content is locked. Please login to view it

Day 35 - Working with Files

This content is locked. Please login to view it

Day 36 - File I/O

This content is locked. Please login to view it

Day 37 - File I/O

This content is locked. Please login to view it

Day 38 - Exception Handling

This content is locked. Please login to view it

Day 39 - Streams and Lambdas

This content is locked. Please login to view it

Day 40 - Multithreading

This content is locked. Please login to view it

Day 41 - Regular Expressions

This content is locked. Please login to view it

Day 42 - JDBC (Java Database Connectivity): Introduction

This content is locked. Please login to view it

Day 43 - JDBC: CRUD Operations

This content is locked. Please login to view it

Day 44 - JDBC: Prepared Statements and Transactions

This content is locked. Please login to view it

Day 45 - JDBC: ResultSet and Metadata

This content is locked. Please login to view it

Day 46 - JDBC: Advanced Concepts

This content is locked. Please login to view it

Day 47 - Spring Boot: Foundations

This content is locked. Please login to view it

Day 48 - Spring Boot: REST API with Spring MVC

This content is locked. Please login to view it

Day 49 - Spring Boot: Data Persistence with JPA

This content is locked. Please login to view it

Day 50 - Spring Boot: CRUD Operations with Spring Data JPA

This content is locked. Please login to view it

Day 51 - Spring Boot: Advanced

This content is locked. Please login to view it

      Sponsor Us|Community|Blog|YoutubeCareersContact UsDisclaimerPrivacy PolicyTerms of Service
      Have Feedback or want to contribute? Email: hello[@]100DaysOfCode.io
      100DaysOfCode@2024