java

Java Switch Statements - Java Tutorial

in this article, we will learn to switch case statement in Java in an easy way. The switch statement is used to select one of the many code blocks to be executed.

Java calculate square of a number - Java Tutorial

in this tutorial, we will learn how to calculate the square of a number in a Java

Java Tutorial

Our Core Java programming tutorial is designed for students and experts. Java is a general-purpose, safe, concurrent, and object-oriented computer programming language.

History of Java

The history of Java begins with the Green Team. The Green Team also known as Java Team started this project to develop a language for digital media such as set-top boxes, televisions, etc.

Features of Java

Features of Java: Simple, Object-Oriented, Portable Platform, independent, Secured, Robust, Architecture neutral, Interpreted, High Performance, Multithreaded, Distributed, Dynamic

Object-oriented programming difference between C++ And Java

C ++ and Java are object-oriented programming languages. But, both languages are different from each other in many ways.

The history of java

Java is similar to c++, which is a direct descendant of c. Java is derived from these two languages.

Java Object-Oriented Programming

Java Object-Oriented Programming (OOP) is at the core of Java. before you begin writing simple Java programs first we need to understand its basic principles.

What is System.out.println() in Java?

Let's understand System.out.println() easily by example.

Java program for input through console

Java program for input through console

Java program for addition of two number

Java program to add two numbers, a user enters two integers, and we calculate their sum and display it.

Java program for subtraction of two number

import java.util.Scanner; class Substract { public static void main(String args[]) { int p, q, r; System.out.println("Enter two integers to calculate their substraction

Java program for multiplication of two number

Learn java code to multiplication of two number

Java program for division of two number

Java program for division of two number

Java program for increment of a number

Java program for increment of a number

Java program for calculating percentage

Java program for calculating percentage

How to compare value in java

in this article, you will learn how to compare values in Java through an example.

Java for Loop

In this tutorial, we will learn how to use for loop in Java with the help of examples. how many times you want to loop through a block of code, use the for loop.

Java Operators

operations on variables and values In the example below, we use the + operator to add together two numbers: