Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

15 Days of Java Challenge designed for mastering Java Programming language, with a hands-on project given for each day

NotificationsYou must be signed in to change notification settings

BruceICzw/15-days-of-java-challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This repository contains the code for my personal 15 Days of Java Challenge. The challenge is designed to help me master Java programming by working on a series of hands-on projects. Each day, I will be given a new topic to learn and a task to complete. By the end of the challenge, I will have built a solid foundation in Java programming and object-oriented design, bringing me closer to my goal of becoming a Java master.

DayTopicTask
1Introduction to JavaWrite a simple "Hello, World!" program in Java.
2Variables and Data TypesCreate a program to calculate the area of a rectangle using user-inputted length and width.
3Control Flow StatementsWrite a program to check if a number is prime or not.
4ArraysImplement a program to find the maximum and minimum elements in an array.
5MethodsDevelop a program to calculate the factorial of a number using a recursive method.
6Object-Oriented Programming (OOP) BasicsDefine a class representing a car with attributes like make, model, and year, along with methods to get and set these attributes.
7Constructors and EncapsulationEnhance the car class from Day 6 by adding constructors and encapsulating its attributes.
8InheritanceCreate a superclass called "Shape" with methods to calculate the area and perimeter. Then, create subclasses like "Rectangle" and "Circle" that inherit from "Shape" and implement their own area and perimeter calculation methods.
9PolymorphismImplement a program using polymorphism to calculate the total cost of shapes (rectangles, circles, etc.) in an array.
10Abstract Classes and InterfacesDefine an interface called "Resizable" with a method to resize shapes. Then, implement this interface in the shape classes from Day 8.
11Exception HandlingWrite a program to handle exceptions when performing arithmetic operations (e.g., division by zero).
12File HandlingDevelop a program to read data from a text file, perform some operation on it, and write the result to another file.
13Collections FrameworkImplement a program to count the frequency of words in a text file using HashMap.
14GenericsCreate a generic class called "Box" to store objects of any type, along with methods to add, remove, and get items from the box.
15Review and ProjectBuild a simple library management system using classes like "Book", "Library", and "Member", implementing features like borrowing and returning books.
                        🚀🚀🚀🚀🚀

About

15 Days of Java Challenge designed for mastering Java Programming language, with a hands-on project given for each day

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp