Tag: javachallenges

dracula polymorphism

Hidden Dracula Polymorphism Java Challenge

Polymorphism is one of the most important Java concepts. We might be not even aware we use it all the time but when we instantiate an ArrayList and assign it to a variable of the List type, we are using polymorphism. It’s a powerful concept...

jedi lambda join challenge

Jedi Lambda Join Java Challenge

There are many concepts involved in Java Challenge! In essence, we will explore lambdas and the Function interface the most. However, we also have static methods introduced in Java 8 the private method in interfaces introduced in Java 9. In the...

streams set

Streams Set Distinct Java Challenge

Using streams, and Set Collection Factory methods with Java make code easier to read and maintain. By using those features we can also make it more difficult for bugs to hide. If you can use the latest LTS (Long-term support) Java version in your...

keywords reserved words

Keywords VS Reserved Words in Java

There are some misunderstandings and confusion regarding keywords and reserved words in Java. I’ve seen many articles treating reserved words as keywords but actually, there is a difference. Java has many keywords, let’s list them here:...