Composing Functions with compose() andThen()

As we already saw in a previous article, the  java.util.Function interface represents a function that accepts one argument and produces…

add comment

Composing Functions – Quiz

Java 11 Certification Practice Questions (Answers below) Section: Working with Streams and Lambda expressions Objective: Implement functional interfaces using lambda…

add comment

Java Quiz: Using Maps with forEach

Click here to learn more about using the forEach construct with Maps. Java 11 Certification Practice Questions on forEach Q1….

add comment

Using Maps with forEach

For Java 11 Certification Exam Practice Questions, refer http://talks.skilltoz.com/java-11-certification-exam-questions/ To know the basics of using the forEach construct in Java, refer…

add comment

Local Variables and Lambda Expressions – Practice Questions

Java 11 Certification Practice Questions (For the complete list), refer to http://talks.skilltoz.com/java-11-certification-exam-questions/ Topic: Working with Streams and Lambda To learn…

add comment

Local variables inside Lambda Expressions

Java 11 Certification Practice (For the complete list of practice questions, refer http://talks.skilltoz.com/java-11-certification-exam-questions/) Can we declare local variables inside a lambda…

add comment

Predicate Negation

In this article, we already discussed how we can use predicates, when we need to evaluate a condition on a…

add comment

Replacing values in a Map

Java 11 Certification Practice Questions (For the complete list, refer http://talks.skilltoz.com/java-11-certification-exam-questions/) How do we replace a value in a Map? The…

1 comment

Maps in Java: Quiz

For Java 11 Certification Exam Practice Questions, refer http://talks.skilltoz.com/java-11-certification-exam-questions/ Here are some quiz questions for you on maps in Java….

add comment

Getting values from a HashMap

Java 11 Certification Practice Questions (For the complete list, refer http://talks.skilltoz.com/java-11-certification-exam-questions/) How do we get a value from a HashMap? In…

add comment