When we enter element in array but array is full then create a function, this function create a new array
Continue readingHow to generate random number in java
Here we learn how to generate random number in java public class RandomNumber { public static void
Continue readingFind absolute value of any number
the absolute value (or modulus) |x|of a real number x is the non-negative value of xwithout regard to its sign. If number
Continue readingReverse string in java
Reverse string in java means that swap first character with last and second character with second last and so on
Continue readingJava Program to Find Duplicate Characters in a String
To find duplicate characters in a string java we have two method . We can find repeated characters in a
Continue readingPermutation of a number
Find all permutation of a number public class permutation { void doPermutation(char [] str,int i,int n){ if (i==n) { for
Continue readingFeatures of arrays in Java
Features of arrays in Java : 1. Stores similar data types. 2. Contiguous (continuous) memory is allocated for the elements.
Continue readingHow to Split String in Java : Split() String Method Example
Split the string in java is important frequency asked questions . Because In our application we need to spit string
Continue readingJava Program To Find LCM of Two Numbers
We will discuss how to find LCM of Two Numbers In Java in this article . We have different methods to
Continue readingHow to Convert String into int In Java
Convert string into int or respectively wrapper class Integer is very simple and common operation . During of development in
Continue reading