Playing audio from mobile file system in J2ME
Here is the code sample for reading a audio file from mobile file system and plays. Here i have used JSR 75 for FileConnection and player...
Introduction to JSON Basics
JSON (JavaScript Object Notation) is one of the most popular and widely accepted data exchange format originally specified by...
Sort Array ascending or descending using comparator in Java
Quick Java code snippet to sort Array ascending or descending using comparator in Java....
How to Test String Equality in Java?
Sample program to test String Equality in Java using equals to (==) operator and String.equals() method....
String Concatenation Test in Java
Sample Java program to concatenate two strings using plus (+) concatenation operator....
Reverse of String in Java
Quick Java code snippet to reverse java string using for loop. import java.util.Scanner;class ReverseString{ public static void main(String...
Insertion sort example in Java
Code snippet to sort array using insertion sort algorithm in java....
String length and trim string in java
Code snippet explains the usage of String class length and trim() method....
How to change upper case string to lower case in Java
Quick Java code snippet to change case of a String in Java. It uses toUpperCase() and toLowerCase() methods present in java.lang.String...
Linear / Sequential Search Example in Java
Quick Java code snippet to show Linear / Sequential Search....

