Latest :

Java Programs

Java Program To Convert Octal To Hexadecimal | Vice Versa

Java program to convert octal to hexadecimal using standard values, recursion, using an array and vice versa ( convert from hexadecimal to octal ( vice versa ) with sample outputs and example programs. The following program has been written in three formats and also vice versa. In order to get into programming part Just a couple of lines to let you know ...

Read More »

Java: VAT Calculator Program In 2 Ways | Java Programs

Java program to calculate VAT, Value-Added Tax. VAT is tax that is levied on the consumer when he/she buys the product or service. VAT is multi stage tax and something which is levied on each stage of production. Although the tax is levied upon the producers or the businesses (for easy understanding) it is the consumer or end user who ...

Read More »

Java Program To Calculate Salary Of An Employee | 3 Ways

Java Program To Calculate Salary of An Employee – In this article, we will detail in on all the methods used to calculate the net salary of an employee in Java Code.  Suitable examples and sample programs have been included in order to make you understand simply. Employee program in Java. The methods used in this article are as follows: ...

Read More »

Java Program To Find Area Of Rectangle | 3 Ways

Java program to calculate the area of a rectangle. There are maybe so many methods in order to write the java program to find the area of a rectangle. Here we share the two methods, sample method -1, and sample method-2 with online compiler and execution tool. Below are the online compiler and execution tool check it out #area of ...

Read More »

Java Standard Deviation in 4 Easy Ways | Java Programs

Java code To Calculate Standard Deviation – In this article, we will brief in on all the possible ways to calculate standard deviation in Java Programming. Suitable examples and sample programs have been included in order to make you understand simply. The compiler has also been added so that you can execute the programs yourself. The methods used in this ...

Read More »

Java Program To Calculate Electricity Bill | Example

Java program to calculate Electricity bill. If you wondering on how to calculate Electricity bill by writing the Java program there you go. Here we share the list of code with sample outputs, in five different ways using static values, using function or method, using command line arguments, do while, for loop, user define method along with sample outputs for ...

Read More »

Java Program To Find Area Of Equilateral Triangle

Another exciting post, Java program to find the area of an equilateral triangle or to calculate the equilateral triangle in just two to three simple code lines. Most of the programs that you came across are good, but the length of the code was pretty annoying and confused too. So, we came up with the new code that works well, with ...

Read More »

Java Program To Calculate Area Of Triangle – 5 Ways

Java program to calculate the area of a triangle when three sides are given or normal method. Calculating the area of a triangle is quite simple if you know the basics of java programming. If you were at newbie level to learn the Java programming then check out the following tutorial so that you will get an idea. The following ...

Read More »

Java: Validating a Phone Number Format String | Java Programs

Java program to validate the phone number format in a perfect order with dashes. The following java program has written in multiple ways along with detailed algorithmic explanation with sample outputs. If you have any doubts related to the Java phone number format, just do leave a comment here. Consider you entered the mobile number like 9 0 1 0 ...

Read More »

Java Program To Find Area Of Isosceles Triangle

Java program to find the area of an Isosceles triangle or to calculate the area of an isosceles triangle. Before we discuss the programming code what is an isosceles triangle? And what are the main functions of an isosceles? What is an isosceles triangle? An isosceles triangle is a triangle where any two sides of a triangle should be equal both in terms of ...

Read More »