Java
-
A Guide To Functional Interfaces in Java
A functional interface is an interface that contains exactly one abstract method. When talking about a functional interface, people often think about Java 8 because this concept originally emerged at […]
-
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 […]
-
Understanding seven 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 four access modifiers in Java. […]
-
What the heck is OOP? Let me help you understand it! (with detailed Java code examples)
Have you ever heard about OOP? I dare you did. With your curiosity, perhaps you already visited Wikipedia and some other places to learn about this concept, but in the […]
-
Learn Java from Scratch: Access modifiers in Java
Modifier Overview We have learned about variables and data types in Java, I think now it’s a good time to introduce some concepts about modifier types in Java. Modifier types […]