Arrays are objects in Java. Variables in Java actually stores references to the object instead of the real object. When we pass an object reference to a method we are changing the object that is in the heap of the memory. Considering the explanation...
Check it out the new features with interfaces available with Java 9! Go deeper into Java 9 concepts by figuring out this Java challenge. Try to solve it before seeing the answer. Remember, you will acquire a new skill much faster when you struggle...