Java 8

Java 8 related article tag

What is Single Abstract Method (SAM) and Functional Interface in Java

Carvia Tech | May 27, 2019 | 1 min read | 1 views | Java 8

Interface that has single abstract method (SAM), is known as functional interface. We can supply a lambda expression whenever an object of an functional interface is expected.

Read Article

Generate Random Numbers in a range using Java 8

Carvia Tech | December 27, 2017 | 1 min read | 196 views | Java 8

This Random.ints(int origin, int bound) or Random.ints(int min, int max) generates a random integer from origin (inclusive) to bound (exclusive).

Read Article

This website uses cookies to ensure you get the best experience on our website. more info