Code snippet explains the usage of String class length and trim() method. The length() method returns the length of this string. The trim() method…
Insertion sort example in Java
Code snippet to sort array using insertion sort algorithm in java. public class InsertionSortExample { static int step = 1;…
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…
String Concatenation Test in Java
Sample Java program to concatenate two strings using plus (+) concatenation operator. public class StringConcatination { public static void main(String…
How to Test String Equality in Java ?
Sample program to test String Equality in Java using equals to (==) operator and String.equals() method. public class StringEqualsTest {…
Sort Array ascending or descending using comparator in Java
Quick Java code snippet to sort Array ascending or descending using comparator in Java. import java.util.Arrays; import java.util.Comparator; public class…
Wondershare Video Editor 3.5.0 Released
Wondershare Video Editor is an easy-to-use and user-friendly video editing program that enables everyone to edit and enhance the videos…
Sending SMS from JavaScript using Phonegap SMS plugin
1. Introduction 2. Features supported 3. How to integrate the SMS plugin 4.Sending SMS using Intent method 5. Sending SMS…
Creating HelloWorld Application in PhoneGap Cordova Plugin
1. Download Latest PhoneGap Plugin 2. Creating an new android project 3. Adding Html, CSS and JavaScript files to project…
Crate a New Repository in GitHub
You can follow the below steps to create and delete branches from GitHub.com Create a new account in GitHub.com if…