How To Empty An Array In Javascript

How To Empty An Array In JavaScript

How To Empty An Array In JavaScript   How To Empty An Array In JavaScript , In this Article i will show you how to empty an Array  in JavaScript using 2 Methods. In this Sample Application i will use a few JavaScript function listed below document.getElementById().innerHTML , yourArrayName.push() yourArrayName.length To Create This Sample, i will … Read more

Custom Exception in Java

Custom Exception in Java

Custom Exception in Java   Custom Exception in Java .Means building self customized Exception classes to handle exception Error occur in your program . About The Sample Code In this Sample Code i will build 5 Classes to help you to understand what is Customized Exception Handling warCharacter armors weapons createTroop troopException   First I … Read more

Create API Connecting to MongoDB Part 1

Create API Connecting to MongoDB Part 1

In this Artcle i will show you how to create API to connect to Mongo DB  Database step by step. First Create a Folder call  shop-api Anyway you can name the Folder what ever name you wanted   Open Terminal and navigate to the folder ” shop-api ” Initialize Node Package Manager Node Package Manager … Read more