My Blog

My WordPress Blog

My Blog

My WordPress Blog

JAVA Tutorial

Java If-else Statement

The Java if statement is used to test the condition. It checks boolean condition: true or false. There are various types of if statement in Java. Java if Statement The Java if statement tests the condition. It executes the if block if condition is true. Syntax: Example: Output: Java if-else Statement The Java if-else statement also tests the condition. It executes the if block if condition is […]

Java Control Statements | Control Flow in Java

Java compiler executes the code from top to bottom. The statements in the code are executed according to the order in which they appear. However, Java provides statements that can be used to control the flow of Java code. Such statements are called control flow statements. It is one of the fundamental features of Java, which provides […]

Operators in Java

Operator in Java is a symbol that is used to perform operations. For example: +, -, *, / etc. There are many types of operators in Java which are given below: Java Operator Precedence Operator Type Category Precedence Unary postfix expr++ expr– prefix ++expr –expr +expr -expr ~ ! Arithmetic multiplicative * / % additive + – Shift shift << >> >>> Relational […]

Unicode System

Unicode is a universal international standard character encoding that is capable of representing most of the world’s written languages. Why java uses Unicode System? Before Unicode, there were many language standards: ASCII (American Standard Code for Information Interchange) for the United States.ISO 8859-1 for Western European Language.KOI-8 for Russian.GB18030 and BIG-5 for chinese, and so on. Problem This caused […]

Java Variables

A variable is a container which holds the value while the Java program is executed. A variable is assigned with a data type. Variable is a name of memory location. There are three types of variables in java: local, instance and static. There are two types of data types in Java: primitive and non-primitive. Variable A variable is […]

JVM (Java Virtual Machine) Architecture

JVM (Java Virtual Machine) is an abstract machine. It is a specification that provides runtime environment in which java bytecode can be executed. JVMs are available for many hardware and software platforms (i.e. JVM is platform dependent). What is JVM It is: What it does The JVM performs following operation: JVM provides definitions for the: […]

Scroll to top