Recent Posts

  • char *, const char *, const * char, and const char * const in C

    Not really straight like many high languages such as JavaScript, or Java, working with Strings in C is not so easy-as-pie and sometimes it’s kind of confusing. There are some […]

  • An array of pointers and A pointer to an array in C

    A pointer in C simply is just a variable holding address in the primary memory of another variable, a pointer shouldn’t be dreaded like people usually think. However, there are […]

  • 905. Sort Array By Parity – In-place Solution | LeetCode Problem

    Given an array A of non-negative integers, return an array consisting of all the even elements of A, followed by all the odd elements of A. You may return any answer array that satisfies […]

  • 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, […]

  • Immediately Invoked Function Expression (IIFE) in JavaScript

    In JavaScript, an Immediately Invoked Function Expression (IIFE) is a JavaScript function expression that executes as soon as it defined. This function will print to the console ‘Hello World’ right […]