Java Program to Calculate Area of Triangle – 5 different ways

 Java Program to Calculate Area of Triangle – 5 different ways The java program to calculate area of triangle has been written in five different ways such as Scanner class, direct value initialization, Buffered Reader class, Command Line argument, and using Constructor. Java Program to Calculate Area of Triangle – 5 different ways are as … Read more

Java Program to calculate area of circle – 5 different ways

Java Program to calculate area of circle – 5 different ways The java program to calculate area of circle has been written in five different ways such as Scanner class, direct value initialization, Buffered Reader class, Command Line argument, and using Constructor. Java Program to calculate area of circle – 5 different ways are as follows: … Read more

Java Program to perform multiplication of two numbers – 5 ways

Java Program to perform multiplication of two numbers – 5 ways Java supports different types of Operators. Operators can be classified into numbers of categories: Arithmetic operators, Bitwise operators, Logical Operators, Conditional operators, Assignment Operators, Relational operators, Special operators, Increment Operators, Decrement operators. Java Program to perform multiplication of two numbers – 5 ways are given … Read more

Java Program to perform addition and Substraction of 2 numbers – 5 ways

Arithmetic Operator: An Operator is a symbol that tells the computer to perform various operation like Mathematical or Logical Operations. Arithmetic operators are used to Construct mathematical expressions. Java Provides different types of Arithmetic operators. They are Addition, Substraction, Multiplication, and Division.    The Process of programming in java is divided into 3 phases: 1. … Read more

Java Program to Print Hello World

Java Program to Print Hello World The Process of programming in java is divided into 3 phases: 1. Writing Simple Java Program: Create a simple java Program by typing it into a text editor. Then save the program with the same name as that of the class name. 2.Compiling a Java Source File: After Completion … Read more

Java program to perform operations without using third variable

 Java program to perform operations without using third variable Are u looking for Java program to perform operations without using third variable? Please find the below post, you will able to learn how to write the program to perform different operations like addition, subtraction, multiplications, division without using third variable. If you get the logic … Read more