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.


© 2023 Java-samples.com

Tutorial Archive: Data Science React Native Android AJAX ASP.net C C++ C# Cocoa Cloud Computing EJB Errors Java Certification Interview iPhone Javascript JSF JSP Java Beans J2ME JDBC Linux Mac OS X MySQL Perl PHP Python Ruby SAP VB.net EJB Struts Trends WebServices XML Office 365 Hibernate

Latest Tutorials on: Data Science React Native Android AJAX ASP.net C Cocoa C++ C# EJB Errors Java Certification Interview iPhone Javascript JSF JSP Java Beans J2ME JDBC Linux Mac OS X MySQL Perl PHP Python Ruby SAP VB.net EJB Struts Cloud Computing WebServices XML Office 365 Hibernate

AltStyle によって変換されたページ (->オリジナル) /