An open API service indexing awesome lists of open source software.

https://github.com/mainakrepositor/java-fantasy


https://github.com/mainakrepositor/java-fantasy

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# JAVA-Fantasy
A collection of 150+ Java Codes as a webpage

## Made with 🧡 by Mainak Chaudhuri

![fs](https://user-images.githubusercontent.com/64016811/114976236-42a68800-9ea3-11eb-9e30-b8623cc1d53f.png)


## Brief Note on Java

Java is a class-based, object-oriented programming language that is designed to have as few implementation dependencies as possible. It is a general-purpose programming language intended to let application developers write once, run anywhere (WORA),meaning that compiled Java code can run on all platforms that support Java without the need for recompilation. Java applications are typically compiled to bytecode that can run on any Java virtual machine (JVM) regardless of the underlying computer architecture. The syntax of Java is similar to C and C++, but has fewer low-level facilities than either of them. The Java runtime provides dynamic capabilities (such as reflection and runtime code modification) that are typically not available in traditional compiled languages. As of 2019, Java was one of the most popular programming languages in use according to GitHub,particularly for client-server web applications, with a reported 9 million developers.

Java was originally developed by James Gosling at Sun Microsystems (which has since been acquired by Oracle) and released in 1995 as a core component of Sun Microsystems' Java platform. The original and reference implementation Java compilers, virtual machines, and class libraries were originally released by Sun under proprietary licenses. As of May 2007, in compliance with the specifications of the Java Community Process, Sun had relicensed most of its Java technologies under the GNU General Public License. Oracle offers its own HotSpot Java Virtual Machine, however the official reference implementation is the OpenJDK JVM which is free open source software and used by most developers and is the default JVM for almost all Linux distributions.

Today, Java is taught as a major programming language in many schools (mostly in the schools under ICSE board). It is quite popular amongst developers and is widely used in server-based and server-less utilities. Java plays a very important role in DevOps.

Given below are some basic beginner friendly java codes with logic explanations, for practice and curriculum.


## Basic Programs



  1. Factorials

  2. Fibonacci

  3. Armstrong

  4. Prime

  5. Palindrome

  6. ASCII 1

  7. ASCII 2

  8. ASCII 3

  9. Random




## Patterns (Numerical)


  1. Number Pattern 1

  2. Number Pattern 2

  3. Number Pattern 3

  4. Number Pattern 4

  5. Number Pattern 5

  6. Number Pattern 6

  7. Number Pattern 7

  8. Number Pattern 8

  9. Number Pattern 9

  10. Number Pattern 10

  11. Number Pattern 11

  12. Number Pattern 12

  13. Number Pattern 13

  14. Number Pattern 14

  15. Number Pattern 15

  16. Number Pattern 16

  17. Number Pattern 17

  18. Number Pattern 18

  19. Number Pattern 19

  20. Pascal's Triangle






## Patterns (Character)


  1. Charater Pattern 1

  2. Charater Pattern 2

  3. Charater Pattern 3

  4. Charater Pattern 4

  5. Charater Pattern 5

  6. Charater Pattern 6

  7. Charater Pattern 7

  8. Charater Pattern 8

  9. Charater Pattern 9

  10. Charater Pattern 10

  11. Charater Pattern 11

  12. Charater Pattern 12

  13. Charater Pattern 13

  14. Charater Pattern 14

  15. Charater Pattern 15

  16. Charater Pattern 16





## Numeric Programs


  1. ATM

  2. Autobiographical Number

  3. Automorphic Number

  4. Bouncy Number

  5. Buzz Number

  6. Duck Number

  7. Emirp Number

  8. Evil Number

  9. Fascinating Number

  10. Greatest Common Divisor

  11. ISBN Number

  12. Keith Number

  13. Krishnamurthy Number

  14. Mystery Number

  15. Neon Number

  16. Nth Prime Number

  17. Number to Word

  18. Perfect Square

  19. Peterson's Number

  20. Reverse Number

  21. Smith Number

  22. Sphenic Number

  23. Spy Number

  24. Strontio Number

  25. Sunny Number

  26. Tech Number

  27. Xylem Phloem Number




## Array Programs


  1. Array Program 1

  2. Array Program 2

  3. Array Program 3

  4. Array Program 4

  5. Array Program 5

  6. Array Program 6

  7. Array Program 7

  8. Array Program 8

  9. Array Program 9

  10. Array Program 10

  11. Array Program 11

  12. Array Program 12

  13. Array Program 13

  14. Array Program 14

  15. Array Program 15

  16. Array Program 16

  17. Array Program 17

  18. Array Program 18

  19. Array Program 19

  20. Array Program 20

  21. Array Program 21

  22. Array Program 22

  23. Array Program 23



## Matrix Programs


  1. Matrix Addition

  2. Matrix Multiplication

  3. Matrix Substraction

  4. Matrix Comparison

  5. Lower Triangular Matrix

  6. Higher Triangular Matrix

  7. Odd-even Frequency

  8. Matrix Product

  9. Row Column Sum

  10. Transpose Matrix

  11. Identity Matrix

  12. Sparse Matrix

  13. Transpose Check


## String Programs


  1. String Program 1

  2. String Program 2

  3. String Program 3

  4. String Program 4

  5. String Program 5

  6. String Program 6

  7. String Program 7

  8. String Program 8

  9. String Program 9

  10. String Program 10

  11. String Program 11

  12. String Program 12

  13. String Program 13

  14. String Program 14

  15. String Program 15

  16. String Program 16

  17. String Program 17

  18. String Program 18

  19. String Program 19

  20. String Program 20




## Sorting and Searching


  1. Linear Search

  2. Binary Search

  3. Bubble Sort

  4. Selection Sort

  5. Insertion Sort




## Conversion Programs


  1. String to Integer

  2. Integer to String

  3. String to Long

  4. Long to String

  5. String to Float

  6. Float to String

  7. String to Double

  8. Double to String

  9. String to Date

  10. Date to String

  11. String to Char

  12. Char to String

  13. String to Object

  14. Object to String

  15. Integer to Long

  16. Long to Integer

  17. Integer to Double

  18. Double to Integer

  19. Character to Integer

  20. Integer to Character

  21. String to Boolean

  22. Boolean to String

  23. Date to Timestamp

  24. Timestamp to Date

  25. Binary to Decimal

  26. Decimal to Binary

  27. Hexadecimal to Decimal

  28. Decimal to Hexadecimal

  29. Octal to Decimal

  30. Decimal to Octal


## Linked List Programs


  1. Simple Linked List

  2. Singly Linked List

  3. Count Nodes

  4. Reverse Linked List

  5. Delete Starting Node

  6. Delete From Middle

  7. Delete End Node

  8. Palindrome Checklist

  9. Minimum and Maximum

  10. Insert in Middle

  11. Insert at Start

  12. Insert at End

  13. Remove Duplicate Nodes

  14. Search Linked List