Java

Java is a simple, secured, high level, platform-independent, multithread, Object-oriented programming language.

 

It’s one of the most popular and widely used programming language, platform, and technology. Java is not only a language it is also a platform and technology.

 

Related Pages:-

Unicode Character Set in Java

The Unicode stands for universal characters code, which contains all countries speaking languages character codes. Unicode character set has 65536 characters from 0 to 65536, so to store it 2 bytes of memory should be allocated. Unicode character set is used for developing internationalization (I18N) applications. The process of designing web applications in such a […]

Unicode Character Set in Java Read More »

Java Literals

Any constant value in the program is called a literal. Literals in Java are used to represent value or assign variables value. Examples of literals:- 9, 9.5, ‘a’, “a”, true, false, null, and e.t.c. Rules for using Literals in Java The literal can’t be used as a single statement. We can not use a literal

Java Literals Read More »

How to Run Java Program

How to run a Java program on a computer? We can run a Java program online or we can install Java virtual machine (JVM) in our computer system. Run Java Program Online There are several sites that allow us to run a Java program online. But online compilers have some limitations like we can’t work

How to Run Java Program Read More »

JDK vs JRE vs JVM vs JIT

JDK vs JRE vs JVM. Here we will discuss JDK vs JRE vs JVM vs JIT in the Java programming language. What are these and where are they used for Java Programs? Later we will see MCQs on JDK vs JRE vs JVM vs JIT. JDK provides an environment to develop and run Java applications.

JDK vs JRE vs JVM vs JIT Read More »

Float and Double in Java

The byte, short, int, and long data types are used to store the integer values in Java programming, but the float and double data types used to store real or floating-point numbers. Prerequisites:- Data types in Java programming Double data type in Java Size :: 8 bytes Range :: -3.4e38 to 3.4e38 Or, 4.94065645841246544e-324 to

Float and Double in Java Read More »

Data Types in Java

In Java, a keyword that is used for creating variables and objects for storing single or multiple values is called data type. A variable is a named memory location that is used for storing one value or one object reference. An object is also a memory location but it is used for storing multiple values/objects.

Data Types in Java Read More »

Java Hello World Program

Java Hello World program is a simple program that displays “Hello World” to the screen. In this post, we will learn how to execute a Java program without generating a byte code file. Filename and class names can be different or not. You will also learn about the source code, compilation, and execution phases. The

Java Hello World Program Read More »