RSRizwan Shaikhinblog.rizwan.io·Aug 20, 2024 · 12 min readThe ThreadsThe Main Thread Every process has at least one thread called the main thread. Java provides us with the Threads class to interact with threads. To get the current thread we can use a static method defined in the Thread class called the .currentThread...00
RSRizwan Shaikhinblog.rizwan.io·Aug 11, 2024 · 5 min readIntroduction to MultithreadingProgram, Process & Threads A Program (or an application) is an executable file on the disk. When we execute any program it starts a Process. A Process (or Context) is a running instance of the program located in the memory. A Thread is a unit of exec...01D
RSRizwan Shaikhinblog.rizwan.io·Aug 7, 2023 · 5 min readEpisode 0: MavenIntroduction to Maven When developing a Java application, we may require extra JARs such as JUnit, JDBC, Spring, Hibernate, Commons Logging, JSON and so on. One solution to that is to manually download each JAR from their website and add them to your...00
RSRizwan Shaikhinblog.rizwan.io·Jun 26, 2023 · 4 min readDNS - The Internet PhonebookWhat is DNS? Let's understand DNS by a simple analogy. To call someone on their mobile, We need their mobile number, but once we have it, There is no need to remember it. We can save their name and number in the phonebook. Next time we need to call t...00
RSRizwan Shaikhinblog.rizwan.io·May 13, 2023 · 7 min readRegEx - Extracting Strings (part 2 of 2)In the last article, we learned how to write and match a regex. Now we'll look at how to extract the string that matches the regex in Java. Remember, If we want to match a character that has a special meaning in regex like . then we need to prefix i...00