# Calculate total surface area of Hemisphere in java

In this post, we will see how to calculate total surface area of Hemisphere in java.

Hemisphere is exactly half of sphere. 💻 Awesome Tech Resources:
• Looking for ⚒️ tech jobs? Go to our job portal.
• Looking for tech events? Go to tech events 🗓️ Calendar.️

There can be many practical examples of Hemisphere. You can divide earth into two hemisphere i.e. Northen Hemisphere and Southern Hemisphere. Formula of calculating total surface area of Hemisphere is:

surface area of Hemisphere = 2 *Π * r * r
Where r is radius of hemisphere.

Here is java program to calculate total surface area of Hemisphere. We are using scanner class to take input from user in below program.

When you run above program, you will get below output

Enter the radius of hemisphere :
3
Total surface area of Hemisphere is: 56.548667764616276

That’s all about how to calculate total surface area Hemisphere in java.

import_contacts

### You may also like: ## Related Posts

• 05 April

### Count the Number of Occurrences of a Character in a String in Java

In this article, we will look at a problem: Given an Input String and a Character, we have to Count the Occurrences of such Character in the given String. For Example, If the Given String is : "Java2Blog" and we have to count the occurrences of Character ‘a’ in the String. 💻 Awesome Tech Resources: […]

• 24 December

### How to capitalize first letter in java

Learn about how to capitalize first letter in java.

• 09 October

### Java program to find first and last digit of a number

In this article, we are going to find first and last digit of a number in Java. To find first and last digit of any number, we can have several ways like using modulo operator or pow() and log() methods of Math class etc. Let’s see some examples. Before moving to example, let’s first create […]

• 03 October

### Happy Number program in Java

In this article, we are going to learn to find Happy Number using Java. Let’s first understand, what is Happy Number? What is a Happy Number? A number which leaves 1 as a result after a sequence of steps and in each step number is replaced by the sum of squares of its digit. For […]

• 30 September

### Find Perfect Number in Java

In this article, we are going to find whether a number is perfect or not using Java. A number is called a perfect number if the sum of its divisors is equal to the number. The sum of divisors excludes the number. There may be several approaches to find the perfect number. For example: 28 […]

• 28 September

### How to find Magic Number in Java

In this article, we are going to learn to find Magic Number using Java. Let’s first understand, what is Magic Number? What is a Magic Number? A number which leaves 1 as a result after a sequence of steps and in each step number is replaced by the sum of its digits. For example, if […]

## Subscribe to our newletter

Get quality tutorials to your inbox. Subscribe now.