Records merged into Java – JEP 395

Enhance the Java programming language with records, which are classes
that act as transparent carriers for immutable data. Records can be thought of
as nominal tuples. Read more

Similar

Get the Mean of an Array in Java

The challenge It’s the academic year’s end, fateful moment of your school report. The averages must be calculated. All the students come to you and entreat you to calculate their average for them. Easy ! You just need to write a script. Return the average... (more…)

Read more »

Nth Fibonacci Number Using Java Recursion

There are certain problems that just make sense to solve using Java Recursion. Demonstrating Fibonacci Series is one of them. Let’s take a look at something called Fibonacci series. Here are the first few numbers of this series:0, 1, 1, 2, 3, 5, 8, 13, 21... (more…)

Read more »

Java Without If

Over the past year my team has been doing something shocking to a lot of engineers: we’re favoring pure Java over Clojure. We aren’t …...

Read more »