Month: June 2022

Writing to File in Node.js

Introduction Writing some content to a file is a very common programming task. If you are building an application, then one of the important things is to write the content to a file. Node.js core API provides methods to make it easier for us. Node.js fs module provides API to do file operations. One simplest

Read more

Why String is immutable or final in Java? Immutable String in java.

If you are preparing for a java interview then this is one of the most interesting question you will encounter. Immutability means once created can not be changed. If someone changes the string object then new object will be created. For Java world, String Class is heart of Java language. If we talk about another

Read more

How to delete folder in Node.js? fs.rmdir() – Node.js

Introduction In this blog post, we will learn how to delete a folder programmatically in Node.js. Although there are a lot of other ways to delete folders in Node.js one common way is to use a system command. Node.js provides child_process module to execute shell commands. It is not advisable to use child_process module which

Read more

Please disable your adblocker or whitelist this site!

How to whitelist website on AdBlocker?

How to whitelist website on AdBlocker?

  1. 1 Click on the AdBlock Plus icon on the top right corner of your browser
  2. 2 Click on "Enabled on this site" from the AdBlock Plus option
  3. 3 Refresh the page and start browsing the site