Javascript Random Number Generator

In this post, we will see how to use the Javascript Random Number Generator. Math.random() function is used to generate random number(s) in Javascript. The most common use cases for...

Latest Articles

How To Convert String To InputStream in Java?

Below Java code show how to convert String to InputStream using ByteArrayInputStream class – /********************************************************************************** * Created on 04-2011 Copyright(c)...

How To Read Text File in Java?

Below code example shows how to read the text file in java. First the file is read into inputstream. /**********************************************************************************...

How To Get Extension of a File in Java?

Below Java code example show how to retrieve the extension of File using Java File object – /********************************************************************************** * Created...