## Write a Java program to display all primitive type variables. Also display your name in the last line.

• Java

The basic primitive datatypes are listed below. Integer Floating Point Character Boolean Here this types also categorized in other datatypes as follow. Integer This all stores signed, positive and negative values. byte short int long Floating Point Floating Point also known as real number are… Read More »Write a Java program to display all primitive type variables. Also display your name in the last line.

## Find The Area Of Circle And Triangle

• Java

The formula to find area of circle :: 3.14 * radius * radius The formula to find area of triangle :: 0.5 * base * height Here, We are using two classes, one which contains main method and another one which contains the sub code.… Read More »Find The Area Of Circle And Triangle

## Find Reverse Number

• Java

Here, First we take one number from user and assign it to temporary variable called temp. Now we execute on while loop until number is zero. Inside loop we get the last digit of the number by finding the reminder of the number by performing… Read More »Find Reverse Number

## Find Prime Number From 1 to n

• Java

A Prime Number is a whole number greater than 1 whose only factors are 1 and itself. A factor is a whole numbers that can be divided evenly into another number. The first few prime numbers are 2, 3, 5, 7, 11, 13, 17, 19, 23 and 29. Numbers that have more than two… Read More »Find Prime Number From 1 to n

## Check Number Is Palindrome Or Not

• Java

A Palindromic Number is a number that is the same when written forwards or backwards.The first few palindromic numbers are therefore are 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 22, 33, 44, 55, 66, 77, 88, 99, 101, 111, 121, …… Read More »Check Number Is Palindrome Or Not

## Find Maximum From Three Number By Using Ternary Operator

• Java

The Ternary Operator is an operator that takes three arguments. The first argument is a comparison argument, the second is the result upon a true comparison, and the third is the result upon a false comparison. If it helps you can think of the operator… Read More »Find Maximum From Three Number By Using Ternary Operator

## Find Fibonacci Series Of 1 to n

• Java

A series of numbers in which each number ( Fibonacci number ) is the sum of the two preceding numbers. The simplest is the series 1, 1, 2, 3, 5, 8,…. etc. Here first two numbers are 0 and 1 taking by us by default.… Read More »Find Fibonacci Series Of 1 to n

## Find Factorial With User Input – Java

• Java

This tutorial will give you insight of what is factorial and how we can calculate it.

## Printing Hello Word In Java – Beginner

• Java

This describe the printing Hello World in java and give the detailed description of how it works. The method used is println().