This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 🎉 JavaProgramming - Simple Java Programs for Learning
# Core Java Programs
## 🚀 Getting Started
📌 Topics Covered
Welcome to JavaProgramming! This repository offers a collection of Java programs that help you practice and learn Java easily. Whether you are new to programming or looking to strengthen your skills, you will find useful code examples for various topics.
You can explore various example programs available in this repository. Here are a few:
## Description
This repository contains multiple Core Java programs for practice and learning.
It includes programs on arrays, patterns, recursion, functions, operators, keywords, loops, control statements, strings, StringBuilder, sorting algorithms, bit manipulation, mathematical operations, odd/even checks, prime number checks, multiplication tables, and more.
- **Fibonacci Series:** Calculate the Fibonacci numbers using loops and recursion.
- **String Reversal:** Write a program that reverses a given string.
- **Bubble Sort:** Implement the bubble sort algorithm in Java.
- **JDK Not Installed:** Ensure that the JDK is properly installed and configured on your system.
- **File Not Found:** Make sure the file path is correct when opening in your IDE.
- **Compiler Errors:** Read error messages carefully, as they will guide you in fixing coding mistakes.
## 💬 Get Help
If you have questions or need help, feel free to reach out. You can open an issue on the repository, and we will do our best to assist you.
## 🔗 Learn More
For more details about Java basics and programming concepts, consider visiting online tutorials and resources dedicated to Java programming. Practice is key to mastering these skills.
---
Thank you for choosing JavaProgramming! Enjoy exploring the world of Java coding.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
System.out.println("\nSearching the node having value 40...");
list.searchNode(40);
System.out.println("\nSearching the node having value 500...");
list.searchNode(500);
System.out.println("\n\nDeleting the node having location = 0: ");
System.out.println("Before Deletion:");
list.traverseLinkedList();
list.deletionOfNode(0);
System.out.println("After Deletion:");
list.traverseLinkedList();
System.out.println();
System.out.println("\n\nDeleting the node having location = 2: ");
System.out.println("Before Deletion:");
list.traverseLinkedList();
list.deletionOfNode(2);
System.out.println("After Deletion:");
list.traverseLinkedList();
System.out.println();
System.out.println("\n\nDeleting the node having location = 100: ");
System.out.println("Before Deletion:");
list.traverseLinkedList();
list.deletionOfNode(100);
System.out.println("After Deletion:");
list.traverseLinkedList();
System.out.println();
list.deleteLinkedList();
list.traverseLinkedList();
}
}
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Review my code #3
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Are you sure you want to change the base?
Uh oh!
There was an error while loading. Please reload this page.
Review my code #3
Filter by extension
Viewed files
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
There are no files selected for viewing