• Runnable and Callable in Java

    In the early days of Java programming, whenever you want to create a thread, usually you would need the help of whether extending the Thread class or implementing the Runnable […]

  • What’s new in Java 15?

    Java 15 will officially be released in September 2020, however its new and updated features are now available for us as early access for who wants to find out. In […]

  • A Guide To Functional Interfaces in Java

    A functional interface is an interface that contains exactly one abstract method. However, it still can have an arbitrary number of default or static methods. Talk about a functional interface […]

  • Iterable and Iterator in Java

    A lot of people feel confused about the Iterator and Iterable interfaces in Java, because they have very similar names and sometimes they work together which makes people hardly tell […]

  • Serialization and Deserialization in Java through concrete examples

    In Java, the lifetime of all objects is limited at runtime, which means when you close a program and reopen it again, every object is reset to the initial state. […]

  • A Great Introduction to Threads in Java – How to create your own thread

    In the operating system terminology, a thread is the smallest unit of execution schedulable by an operating system’s scheduler. A process can be made up of one or many threads, […]

  • Inside JVM, JRE, JDK And Their Relationship

    There are several basic terms that often confuse beginners are JVM, JRE, and JDK. From the abbreviation, they look quite the same and it is quite hard to tell them […]

  • Understand Tree Traversal: Pre-order, In-order, and Post-order Traversal

    Many of you probably have familiar with arrays or linked-lists, we know that in those data structures, elements can be traversed linearly. But what about the binary tree? As we […]

  • Binary Search Tree (BST) Concrete Implementation In Java

    Binary Search Tree is a fundamental data structure that stores items in the memory. In this article, we will learn what is a binary search tree (BST for short) and […]

  • Understand 7 non-access modifiers in Java

    In the first part, we have learned about access modifiers in Java, including public, protected, default and private. Indeed we can see that there are 4 access modifiers in Java. […]

Buy Me a Coffee