Java Programs

String

  1. 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. 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. Find Length of String Without Using length() Method in Java
  11. Java Program to Find First Non-Repeated Character in The Given String
  12. Check if Given String Subsequence of Another String in Java
  13. Convert Char to String And String to Char in Java
  14. How to Convert String to Byte Array in Java
  15. How to Convert String to int in Java
  16. How to Convert String to float in Java
  17. How to Convert String to double in Java
  18. 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. How to Swap Two Numbers Without Using Third Variable
  6. Java Program to Check if Armstrong Number
  7. Display Armstrong Numbers in Java
  8. Factorial Program in Java
  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

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

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 Excel File in Java Using Apache POI
  7. Write to Excel File in Java Using Apache POI
  8. How to Convert File to Byte Array in Java
  9. How to List All The Files in a Directory in Java
  10. How to Get The Last Modified Date of a File in Java
  11. How to Zip Files in Java
  12. How to Zip a Folder in Java
  13. How to Unzip a File in Java
  14. Creating Password Protected Zip File in Java
  15. GZIP File in Java – Compression And Decompression
  16. GZIP Multiple Files in Java Creating Tar Archive
  17. 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

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.