What is Binary Number System and How Its work?

binary number system

The binary number system is a numbering system that works with only two unique digits 0 and 1. The binary number system is used by only computers. To represent electronic circuit voltage states, (i.e., on/off switch), which considers 0 voltage input as off and 1 input as on. It is also known as the base-2 number … Read more

How to create a Stopwatch in JavaScript?

JavaScript Stopwatch

In this article, you will be creating a small JavaScript project “StopWatch”. The stopwatch will start when the user clicks the start button and it will run every second, displaying the full clock as 00:00. This project gives you more practice with JavaScript and it is easy to build. Skills you need for JavaScript Stopwatch: HTML … Read more

What is JSON ?

JSON

JSON stands for JavaScript Object Notation. It is easy for a user to read and write. It is a lightweight format, used for storing and transporting data. Data can be formatted using JSON. It looks like to object literal syntax. However, it is not just plain text data. Many times, it uses when data is sent from a server to … Read more

Difference between constant and variable in java

differnce between the constant and variable in java

In this article, we learn about the difference between constant and variable. Constant: Constant, refers to a fixed value that doesn’t change during the execution of a program. The value of constants appears right in a program. Literals is another name of constant. We use the constants to create values that assign to variables. Constants … Read more

What is a constructor in oop?

Constructor

In OOP(Object-oriented programming) constructor is a special method. It is called whenever you create an object using new keyword. Constrictor enables an object to initialize itself at the time of its creation without the need to make a separate call to the instance method. It looks like a method but it is different from the method in … Read more

How to declare variable in JavaScript

In this article, Before learns about how to declare a variable in JavaScript. But before, that let’s understand some about what variable is. A variable in JavaScript is an identifier that provides a storage location used to store a data value. The data stored at a particular location in memory. That we accessed by using … Read more

What is variable in JavaScript?

javascript variable

A variable in JavaScript is an identifier that provides a storage location used to store a data value. The data stored at a particular location in memory. That we accessed by using the variable name.In JavaScript programs, a script will have to store the bits of information temporarily. It needs to do its work. It … Read more

How to define java constant?

java constant

In this article, we will learn about how we can define java constant. Java constant refers to a fixed value that doesn’t change during the execution of a program. The value of constants appears right in a program. It is also known as Literals. We use the constants to create values that assign to variables. … Read more