Java programs (Page 2/10)

hexadecimal to binary in java

Let’s learn hexadecimal to binary in java. hexadecimal to binary in java Here’s the java program. import java.util.Scanner; public class HexadecimalToBinaryJava { public static void…

Read More

binary to hexadecimal in java

Let’s learn binary to hexadecimal in java. binary to hexadecimal in java Here’s the java program. import java.util.Scanner; public class BinaryToHexadecimalJava { public static void…

Read More

octal to hexadecimal in java

Let’s learn octal to hexadecimal in java. octal to hexadecimal in java Octal numbers are computer based number system with base eight. Octal representation is…

Read More

octal to binary in java

Let’s learn octal to binary in java. octal to binary in java Task here is to convert octal number to binary number. An octal number…

Read More

hexadecimal to octal in java

Let’s learn hexadecimal to octal in java. hexadecimal to octal in java Let’s convert hexadecimal to octal. For example: hexadecimal value – 2E5 binary value…

Read More

area of equilateral triangle in java

Let’s learn area of equilateral triangle in java. area of equilateral triangle in java An equilateral triangle is geometrical shape where its three sides are…

Read More

area of octagon in java

Let’s learn area of octagon in java. area of octagon in java An octagon is a geometrical figure which has eight sides of same length…

Read More

pronic number in java

Let’s learn pronic number in java. pronic number in java pronic number is a number which is product of two consecutive integers. For example: 56…

Read More

perimeter of rhombus in java

Let’s learn perimeter of rhombus in java. perimeter of rhombus in java In my previous post we learnt area of rhombus. We all know sides…

Read More

area of rhombus in java

Let’s learn area of rhombus in java. area of rhombus in java A rhombus looks like a diamond. Rhombus four sides have equal length and…

Read More