Java Tutorials
51. Count number of vowels, consonants and digits in a String in Java
By: Paawan Chaudhary : 2012-09-19
Description: This java program accepts a string from the console and counts number of vowels, constants, digits, tabs and blank spaces in a string.
52. Save/Write/Read image file from/to a database using Java program
By: Issac : 2012-04-04
Description: Assuming you have a table with a blob field and you want to save a file and store it in the database table or you want to read from a blob object stored in a database, you can use these below java code snippets to write file and read file from database.
53. Convert numbers to word as per Indian number system in java
By: Abhishek Singh : 2011-09-07
Description: This java program converts the number to its equivalent word representation according to indian numbering system. Eg. Lakhs, Crores etc..This program works upto 999999999.
54. Bubble Sort in Java
By: SPlutard : 2011-01-29
Description: The Bubble Sort method works like this: In a series of n-1 iterations, the successive elements, list[index] and list[index + 1] of list are compared. If list[index] is greater than list[index + 1], then the elements of list[index] and list[index + 1] are swapped.
55. Insert, Delete, Search, Print an int Array in Java
By: Grant Braught : 2011-01-27
Description: The sample java program demonstrates sorting an int array. This class contains static methods which implement a number of classic sorting algorithms including: Insertion Sort, Selection Sort and Merge Sort.
56. Insert, Delete, Search, Print an int Array in Java
By: Grant Braught : 2011-01-27
Description: This sample Java program demonstrates the use of Array. In this case an int Array to be able to insert or delete an element at a specific index. To be able to search or print the array.
57. Palindrome String in Java
By: Grant Braught : 2011-01-27
Description: Checking if a String is a Palindrome is a common assignment given to Java students. This sample class is a helpful class that checks for various scenarios to find out if the given string is a palindrome.
58. HTTPS Java - URL Connection program. Using HttpsURLConnection
By: Emiley J : 2011-01-15
Description: Due to many requests from readers, this tutorial is being republished. This sample program shows you how to connect to a HTTPS url and post to it.
59. Get user input in Java
By: Marcus : 2011-01-06
Description: This Java program prompts the user to enter the name by using System.out.print() method to keep the cursor on the same line. Then using the System.in object, along with the InputstreamReader and BufferedReader classes the user input is read. The br.readline() method reads the name from the command line. After pressing the enter key, you will get the user input
60. Iterate a List in Java
By: Dorris : 2010-12-27
Description: This tutorial demonstrates the use of ArrayList, Iterator and a List. There are many ways to iterate a list of objects in Java. This sample program shows you the different ways of iterating through a list in Java.