Java Programs

String

  1. Java Program to Count The Frequency of Each Character in a String
  2. Java Program to Count Number of Words in a String
  3. Java Program to Find Duplicate Characters in a String With Repetition Count
  4. Java Program to Check Given String Palindrome or Not
  5. Java Program to Find Longest Palindrome in The Given String
  6. Java Program to Check if The Given Strings Are Anagram or Not
  7. How to Split a String in Java
  8. How to Reverse a String in Java
  9. Java Program to Reverse Each Word in a String
  10. Java Program to Reverse a String In-place
  11. Find Length of String Without Using length() Method in Java
  12. Java Program to Find First Non-Repeated Character in The Given String
  13. Check if Given String Subsequence of Another String in Java
  14. Convert Char to String And String to Char in Java
  15. How to Convert String to Byte Array in Java
  16. How to Convert String to int in Java
  17. How to Convert String to float in Java
  18. How to Convert String to double in Java
  19. Java Programs For Displaying Patterns

Number

  1. Check Given Number Palindrome or Not
  2. Java Program to Check Whether Number Prime or Not
  3. Display Prime Numbers in Java
  4. How to Reverse a Number in Java
  5. Java Program to Swap Two Numbers Without Using Third Variable
  6. Java Program to Check if Armstrong Number
  7. Java Program to Display Armstrong Numbers
  8. Java Program to Find Factorial
  9. Fibonacci Series Java Program
  10. Arrange Given Numbers to Form Biggest Number in Java
  11. Java Program to Convert Numbers to Words
  12. How to Convert int to String in Java
  13. How to Convert float to String in Java
  14. How to Convert double to String in Java
  15. How to Convert float to int in Java
  16. How to Convert double to int in Java
  17. Stable or Unstable Number Java Program

Array

  1. Matrix Multiplication Java Program
  2. Matrix Addition Java Program
  3. Matrix Subtraction Java Program
  4. Java Program to Find Maximum And Minimum Number in a Matrix
  5. Java Program to Find The Maximum Element in Each Row of a Matrix
  6. Remove Element From an Array in Java
  7. Java Program to Remove Duplicate Elements From an Array
  8. Java Program to Find Common Element Between Two Arrays
  9. Java Program to Find Maximum And Minimum Values in an Array
  10. Find The Largest And Second Largest Element of an Array in Java
  11. Reverse an Array In-place Java Program

Java I/O

  1. How to Read File in Java
  2. How to Write to a File in Java
  3. How to Append to a File in Java
  4. How to Read Delimited File in Java
  5. How to Read Input From Console in Java
  6. Read File Asynchronously in Java
  7. Write a File Asynchronously in Java
  8. Read Excel File in Java Using Apache POI
  9. Write to Excel File in Java Using Apache POI
  10. How to Convert File to Byte Array in Java
  11. How to Copy a Directory in Java
  12. Delete a File or Directory Using a Java Program
  13. How to Make a File or Folder Hidden in Java
  14. How to List All The Files in a Directory in Java
  15. Renaming a File Using Java Program
  16. How to Get The Last Modified Date of a File in Java
  17. Java Program to Find File Extension
  18. Java Program to Get Files Having a Specific Extension
  19. Java Program to Delete Files Having a Specific Extension
  20. How to Create Temporary File in Java
  21. How to Zip Files in Java
  22. How to Zip a Folder in Java
  23. How to Unzip a File in Java
  24. Creating Password Protected Zip File in Java
  25. GZIP File in Java – Compression And Decompression
  26. GZIP Multiple Files in Java Creating Tar Archive
  27. Decompress And Untar Multiple Gzipped files in Java

Java Multithreading

  1. Get Current Thread Name And ID in Java
  2. Print Odd And Even Numbers Using Two Threads in Java
  3. Print Numbers Sequentially Using Three Threads in Java
  4. Producer-Consumer Problem Java Program
  5. How to Create a Deadlock in Java

Generating PDF using Java

  1. How to Create PDF From XML in Java Using Apache FOP
  2. Generating PDF in Java Using iText Tutorial
  3. Read PDF in Java Using iText
  4. Merging PDFs in Java Using iText
  5. Password Protected PDF Using iText in Java
  6. Generating PDF in Java Using OpenPDF Tutorial
  7. Read PDF in Java Using OpenPDF
  8. Merging PDFs in Java Using OpenPDF
  9. Password Protected PDF Using OpenPDF in Java
  10. Convert HTML to PDF in Java Using Flying Saucer, OpenPDF
  11. Generating PDF in Java Using PDFBox Tutorial
  12. Password Protected PDF Using PDFBox in Java
  13. Java PDFBox Example – Read Text And Extract Image From PDF
  14. Merging PDFs in Java Using PDFBox

Sorting Programs in Java

  1. Bubble Sort Java Program
  2. Generic Bubble Sort Java Program
  3. Selection Sort Java Program
  4. Insertion Sort Java Program
  5. Merge Sort Java Program
  6. Shell Sort Java Program
  7. Quick Sort Java Program
  8. Counting Sort Java Program
  9. Bucket Sort Java Program
  10. Radix Sort Java Program
  11. Tree Sort Java Program
  12. Heap Sort Java Program
  13. Stable and Unstable Sorting Algorithms
  14. What is In-place Algorithm

Java Date and Time

  1. Java Date Difference Program
  2. Convert Date to String in Java
  3. Convert String to Date in Java
  4. Getting Current Date and Time in Java
  5. Display Time in 12 Hour Format With AM/PM in Java
  6. Display Time in 24 Hour Format in Java
  7. Compare Dates in Java
  8. Java Program to Convert Date to LocalDate, LocalDateTime
  9. Java Program to Convert Between Time Zones
  10. Convert Instant to Java LocalDateTime, LocalTime
  11. Convert LocalDate, LocalTime, LocalDateTime to Java Instant
  12. Convert LocalDate to Date in Java
  13. Convert 24 Hours Time to 12 Hours Time Format in Java

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.