Java

Complex Number Problem Solved: Coding Ninjas

First Index Of a Number in an Array

Complex Number problems are basically asked in many coding questions. This question is taken from one of the basic challenges in Coding Ninjas. Before starting the actual question, let us know more about the complex numbers for a better understanding of the concepts. Complex numbers are the numbers that are expressed in the form of a+ib where, a,b… Read More

Tokens in Java | Explained with Examples

Types of Tokens in Java

Tokens are the smallest individual unit of the program , In other words, they are the building blocks of a language. Basically In Java, the program is a collection of classes and methods, while methods are a collection of various expressions and statements . Moreover, statements and expressions are made up of tokens. Tokens in… Read More

What is the Difference Between JDK , JVM And JRE ?

JDK vs JRE vs JVM

The major difference between JDK, JRE, and JVM are shown in below table : JDK JRE JVM The full form of JDK is Java Development Kit. JRE is Java Runtime Environment. JVM is Java Virtual Machine. JDK is a software development kit to develop applications in Java. It provides a platform to execute java programs.… Read More