Java Articles, Tutorials & News

Lambda Functions in Java

Sometimes when writing software, it is useful to pass a function as an argument to another function. A common example for this is a generic filter function. In pseudo code, it would look something like this:

Read more »

The “Split Strings” Challenge Using Java

The challenge Complete the solution so that it splits the string into pairs of two characters. If the string contains an odd number of characters then it should replace the missing second character of the final pair with an underscore (‘_’). Examples: Tes…

Read more »