Abstract classes and interfaces in Java serve fundamentally different purposes. Learn the differences between these Java language elements and how to use them in your programs. Abstract classes and ...
Obviously that doesn't compile, but I hate to make a file FooType.java with just the 5 lines above in it. Obviously that doesn't compile, but I hate to make a file ...
What’s strange about Java? Every programming language has its quirks and Java is no different. In this post, I present one of Java’s oddities, which was introduced to this language in the Java 8 ...
In the world of IDE-based development, programmers can easily become detached from JDK and the underlying technology that makes their applications work. Here is a list of the five most useful Java ...
The Java Iterator is an all-purpose interface that simplifies looping through a collection of objects. Java's ListIterator provides all the functionality of the Iterator interface, with four ...
The Java Platform provides the most commonly used data structures in the form of the Collections Framework, and it provides a rich API to operate on them. In this first article in a two-part series, I ...