Java
                                
                                
                                
                                    Java copied to clipboard
                            
                            
                            
                        Includes programs written in Java. You are welcome to contribute here!
Java
What does this repository contain?
This is a beginner-friendly repository which features programs in Java.
Can I contribute?
Yes! :smile: you can definitely contribute! The following are some of the things you can do -
- If you have a program written in Java that is not in the repository you can open up a PR. You can also open up a PR if you have another way of implementing a concept in the repo.
 - Also, if you can see something wrong (maybe like an error or something), you can open up a PR.
 - Another suggestion is if you can think of a creative way to explain any concept using markdown, you are welcome to contribute!
 
How can I contribute?
It is very easy to contribute, you may follow these steps -
- Fork this repository
 - Make changes/ add things (if adding a new program please check the program list below to see if the program hasn't been implemented already)
 - Add a comment at the top of your program describing what it does (e.g. "Program to demonstrate abstract classes in Java")
 - If you add a new program, update the list of programs in the readme file
 - Make sure to merge the latest master branch into your feature branch to avoid conflicts
 - Open up a PR. It will be merged after review.
 
Programs:
- 
Abstract Class - Program to demonstrate abstract classes in Java
 - 
Rectangle Area - Calculates area of a rectangle
 - 
Arithmetic exceptions - Program to show Arithmetic Exception Error handling
 - 
Array Lists - Program to show list of strings in java
 - 
Array Out Of Bounds - Program to show ArrayOutOfBoundsException Error handling
 - 
Bank System - Using concepts of object-oriented programming develop solution for banking system (create account, deposit money, withdraw etc.)
 - 
Book Shop - Class for book shop inventory management-
 - 
Bubble Sort - Program to sort an array in Java (using bubble sort)
 - 
Calculator - Calculator for basic math operations
 - 
Circular Queue - Demonstrates implementation of a circular queue
 - 
Complex Nums Ops - Program to demonstrate operations on complex numbers in Java
 - 
Constructors - Program to demonstrate the use of constructors in Java
 - 
Derived Constructor - Program to demonstrate the order of constructor call
 - 
EduEmpDB - Program to simulate maintainance of a database of emplooyees, showcases thw relationships between the classes
 - 
Edu Institute - Program to simulate student registration to an educational institute
 - 
Exc Handling - Program to demonstrate crete an ararylist and update, delete and view elements in the list
 - 
Except Throw - Program to demonstrate handling of a NullPointerException
 - 
factoflargenum - Program to demonstrate Factorial of Large numbers in Java using BigInteger
 - 
fibo - Program to fibonacci numbers until N
 - 
For Loop - Program to demonstrate the use of for loop
 - 
Functional Interfaces - Program to demonstrate how to use the Function and BiFunction functional interfaces
 - 
Gen Class Method - Program to demonstrate method instanstiation in Java
 - 
gen Prog - Demonstrates generic programming
 - 
hello World - Simple Java helloworld program
 - 
input - Program to demostrate accepting an input in java
 - 
Integers - Simple java program to compare integers with each other.
 - 
Integer To Word - This program converts numbers into its word counterparts.
 - 
JavaC lasses - Program to demonstrate the use of classes and objects (basic)
 - 
Largest Number - Program to demonstrate the use of if-else if-else statements
 - 
Lists - Shows array list of strings, integers and linked list for numbers
 - 
Matrix Addition - Program to add two matrices in Java
 - 
Multiple Inheritance - Program to demonstrate multiple inheritance
 - 
Nested Try - Program to demonstrate a nested try..catch
 - 
Number To Roman - Program to convert a number to roman numerals
 - 
Overloading - Program to demonstrate overloading in Java
 - 
PrimeNo - Program to find out the prime numbers in a given range in Java
 - 
Square Every Digit - This program finds the square of a number.
 - 
Static Count - Program to demonstrates static count
 - 
Static Member Functions - Program to demonstrate the use of static member functions -
 - 
Student Interface - Shows implementation of an interface
 - 
Sum Of Array Nos - Program to add all the numbers in an array
 - 
Switch Case - Program to demonstrate switch case statements in Java
 - 
This Pointer Explicit - Program to demonstrate 'this' pointer (explicit method)
 - 
This Pointer Implicit - Program to demonstrate the use of 'this' pointer
 - 
TwoDArrays - Program to demonstrate 2D arrays (Hard-coded)
 - 
Wiggle Sorting - Program to demonstrate sorting an array using wiggle sort
 - 
Palindrome- Program to check whether the number entered by user is palindrome or not
 - 
Binary Search - Program to demonstrate sbinary search algorithm
 - 
Heap Sort - Program that implements Heap Sort.
 - 
Fibonacci Search - Program that implements Fibonacci search.
 - 
Tic Tac Toe - Program to play tic-tac-toe game with computer.
 - 
Prim's Algorithm to find the MST of a Graph - Program that implements Prim's Algorithm
 - 
Interpolation search - Program that implements Interpolation search.
 - 
Exponetional search - Program that implements Exponetional search.
 - 
Exponetional search - Program that implements Soundex algorithm.
 - 
BFS - For unweighted connected graph.
 - 
DFS - For disconnected graph use the approach for checking connected components.
 - 
Decimal to Binary - Convert decimal to binary.
 - 
Dijkstra - Implements Dijkstra algorithm.
 - 
Insertion Sort - Program that demonstrates insertion sort algorithm
 - 
Selection Sort - Program that demonstrates selection sort algorithm
 - 
Quick Sort - Program that demonstrates quick sort algorithm
 - 
Merge Sort - Program that demonstrates merge sort algorithm
 - 
Shell Sort - Program that demonstrates shell sort algorithm
 - 
Income Tax Calculator - Income Tax Calculator program
 - 
Bucket Sort - Program that demonstrates Bucket sort algorithm
 - 
Rock Paper Scissor - Rock paper Scissor Game Program
 - 
Trie_Implementation - Program that demonstrates the implementation of Trie Data Structure in Java.
 - 
Ford Fulkerson - Program that demonstrates the implementation of FordFulkerson algorithm.
 - 
Kruskal - Program that demonstrates the implementation of Kruskal's algorithm.
 - 
GSSArray - Program demonstrates the working of Growable Self Sorting Array.
 - 
Ceiling Floor - Program that demonstrates to find ceiling and floor number in an array
 - 
Floyd Warshall Algorithm - Program for solving the All Pairs Shortest Path problem where to find shortest distances between every pair of vertices in a given edge weighted directed Graph.
 - 
Find element with function interface - To find element at a index using function interface
 - 
Rabin-Karp Algorithm - Program that demonstrates Rabin-Karp algorithm used for pattern matching and string searches
 - 
Bellman Ford Algorithm - Program that demonstrates Bellman Ford algorithm used to find the shortest path from a vertex to all other vertices of a weighted graph.
 - 
Huffman Coding - Program that demonstrates Huffman Coding for data compression.
 - 
ADT Fraction Program - Program to demontrate how to deal with numarators and denomenator
 - 
Number Array without duplicate elements - Program to demontrate Number array without duplicate elements
 - 
Depth First Search - Program demonstrates Depth First Search algorithm
 - 
Breath First Search - Program demonstrates Breath First Search algorithm
 - 
Number Of Digits - Program demonstrates number of digits
 - 
Circular integer Linkedlist - Program shows circular linkedlist operations
 - 
SwitchingLetters - Program that demonstrates switching letters according to given indexes.
 - 
Matrix Multiplication - Program to multiply two matrices.
 - 
Sieve of Eratosthenes - Program to multiply two matrices.
 - 
Reverse a LinkedList - Program to reverse a linkedList.
 - 
Peg Solitaire - Peg Solitaire Game
 - 
PrintPattern - Print Pattern using Nested For Loops.
 - 
Two Sum - Sum of two elements which is equal to the target element.
 - 
ToDO List - Simple ToDo list program.
 - 
Ceaser Cipher Encryption - Encrypt Text with Ceaser Cipher Methodology.
 - 
Recursion - Check if an Array is sorted using recursion.
 - 
Patterns - Print out patterns in terminal (Steps included).
 - 
Lucky Number - Program to check if the given number is a Lucky Number or not.
 - 
Knapsack Problem - Program to solve the 0/1 Knapsack problem using Dynamic Programming Approach.
 - 
Strassen's Multiplication - Program to multiply two square matrices using Strassen's Multiplication method.
 - 
Xor Palindrome - Program/Solution to Xor Palindrome
 - 
Streams API - Program to demo the Java Stream API with String and Integer Lists. 98.Stack-Program to demo the stack implementation 99.RotateLinkedList-Program to demo rotating a linked list
 - 
ReverseString -Program to reverse a String using the java method substring. 101.Overriding-Program to demo overriding in java
 
Contributors -
A big thank you to all our contributors!!!
Made with contributors-img.
Do β the repo if you find it useful!! βΊπβΊ