Removing clones in code maybe is the most difficult type of refactoring action. In this post, I will show you how to refactor a clone type 2 using Functional Interface in Java and delegate in C#
Doing C# long enough, you get yourself familiar with C# concepts and syntax. That's fine, but sometime when you need "the same" concepts in Java, it's quite difficult. This cheat sheet here to tackle that problem.
After getting yourself familiar with names and terms in Java in part 1, now it's time for you to create your first program in Java.
Coming to Java world, from a .NET guy, is like going from a full feature-rich and comfortable car to a basic bike with a lot of space for extension and customization.