Java

  • A Gentle Guide to Socket in Java

    What is Socket? A socket is an interface to send and receive data in two programs on the network in a bidirectional manner. In other words, a socket represent one […]

  • How to configure Tomcat Server to Run Web Application on IntelliJ IDEA

    In this article, we are going to learn how to configure the Tomcat server to run a simple “Hello World” application on the web browser with JSP and Servlet (i.e […]

  • Different ways to iterate any Map in Java

    1. Using entrySet() The Map.entrySet() returns a collection view Set<Map.Entry<K, V>> of the mappings in this map. To iterate over a map, we can use the getKey() method to get […]

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

Subscribe to my newsletter to get weekly updates

Categories

Archives