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

Linked List in Java

Linked List in Java is a Collection class and it implements the doubly linked list data structure. LinkedList class in...

Linked List in Java

Array Vs ArrayList in Java

Both Array and ArrayList are very important and frequently used data structures in Java. The main difference between Array Vs...

Array Vs ArrayList

Convert Iterator to Stream – Java 8

There are 2 ways to convert an Iterator to Stream in Java 8 – Use StreamSupport.stream to convert Iterator into a Stream Use StreamSupport.stream with Spliterator parameter 1. Iterator...

convert Iterator to Stream Java

Get Current Date and Time – Java 8 Examples

Java provides many useful ways to get current date time, current date, or current time using newly introduced LocalDate, LocalDateTime and ZonedDateTime classes in Java 8 Date/Time API classes. In this article, I...

Get Current Date and Time Java