Implement Callable as lambda expressions

Java 11 Certification Practice Questions (For the complete list, refer http://talks.skilltoz.com/java-11-certification-exam-questions/) Section: Concurrency Objective: Create worker threads using Runnable and…

add comment

Effectively Final

Java 11 Certification Practice Questions (For the complete list, refer http://talks.skilltoz.com/java-11-certification-exam-questions/) When do we say that a variable is effectively…

add comment

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

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 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

enums in Java

Java 11 Certification Practice Questions (For the complete list, refer http://talks.skilltoz.com/java-11-certification-exam-questions/) What is an enum? An enum is a data type…

add comment