Data Structure
 Networking
 RDBMS
 Operating System
 Java
 MS Excel
 iOS
 HTML
 CSS
 Android
 Python
 C Programming
 C++
 C#
 MongoDB
 MySQL
 Javascript
 PHP
- Selected Reading
 - UPSC IAS Exams Notes
 - Developer's Best Practices
 - Questions and Answers
 - Effective Resume Writing
 - HR Interview Questions
 - Computer Glossary
 - Who is Who
 
Java Articles - Page 94 of 745
 
			
			3K+ Views
A number is said to be a Strontio number, if we multiply 2 with a four-digit number then in the resultant number the tens place and hundreds place digits are the same. In simple terms, Strontio numbers are basically four-digit numbers. When we multiply 2 with it, it results in a number whose tens place and hundred places are exactly the same. Some examples of Strontio numbers are- 1111, 2222, 3333, 4444, 5555, 6666, 7777, 8888, 9999, 1001 ... etc. In this article, we will see how to check if a number is a strontio number by using Java ... Read More
 
			
			902 Views
A number is said to be a pointer prime number, if the sum of the product value of digits and the original prime number results in the next prime number. For more clarification, we take a prime number and multiply the digits with each other and add that multiplication value with the original number. After that if we get another prime number which is next to the original prime number. Then we can say that the number is a pointer prime number. Some examples of pointer prime numbers are: 23, 61, 1123, 1231 ... etc. In this article, ... Read More
 
			
			3K+ Views
What is a Narcissistic Number? A number is said to be a Narcissistic number, only if the addition (or sum) of the value of each digit raised to the power of the total number of digits available in the original number is equal to the original number. Examples of narcissistic numbers, such as 153, 1634, 54748, etc. All single-digit numbers (0, 1, 2, 3, 4, 5, 6, 7, 8, 9) are Narcissistic numbers because the power of 1 of any digit will be the digit itself. The following input and output scenarios will help you understand the problem and calculation ... Read More
 
			
			2K+ Views
What is a Mersenne Number? A Mersenne number is a positive integer that is obtained using the expression M(n)= 2n-1, where 'n' is an integer. If you keep any value of n (e.g., 0, 1, 2, 3) in the above expression, the result will be a Mersenne number. For example, consider n = 2 and calculate the expression 22 - 1. The result is 3, which is a Mersenne number. Not all Mersenne numbers are prime (e.g., 24 - 1 = 15) is a mersenne number, which is not prime. Here are some other examples of Mersenne numbers: ... Read More
 
			
			466 Views
What is Empire Number? A number is said to be an Empire number if it is a prime number, and when we reverse that number, we should get another prime number. For example, let's consider the number 17. We know that 17 is a prime number, and if we reverse this number, we get 71, which is also a prime number. Therefore, 17 is known as an empire number. Here are some other examples of prime numbers such as 11, 13, 17, etc. Input & Output Scenarios Below are a few input and output scenarios that help to understand the ... Read More
 
			
			554 Views
An arc of a circle is a segment or portion of the circumference of a circle. In other words, a curve between a pair of distinct points. The length of the arc refers to the length between two points along the arc (two points along a section of a circle or curve). It is a percentage of the circumference of the circle. When two lines intersect each other, the common meeting point is called a vertex and the geometrical figure between the two arms/lines is called an angle. Following diagram will help you to understand the arc and its length: ... Read More
 
			
			657 Views
A Hemisphere refers to the exact half of a sphere, which means if we divide a sphere into two equal parts, then we will get two hemispheres. The hemisphere is a three-dimensional geometrical shape that has one flat face. Following is the diagram of the Hemisphere, which gives an idea about the space it occupies and its radius that helps you to calculate the volume: Volume of the Hemisphere The volume of the hemisphere is the amount of space occupied by the hemisphere. It is half of the volume of the sphere with the same radius (r). Here is ... Read More
 
			
			2K+ Views
Hypotenuse refers to the longest side, which is opposite to the right angle of a right-angled triangle. Following is the diagram of the Hypotenuse: Length of the Hypotenuse The length of the hypotenuse can be calculated using the Pythagorean theorem. According to it, the sum of the squares of the lengths of two sides is equal to the square of the length of the third side as follows: a2 + b2 = c2 c = √(a2 + b2) Where a, b, and c refer to the three sides of the right-angled triangle. You can write the above formula ... Read More
 
			
			350 Views
A hemisphere refers to the exact half of a sphere. Means if we divide a sphere in two equal parts then we will get two hemispheres. Hemisphere is a three-dimensional geometrical shape which has one flat face. There are many practical examples of hemispheres. The earth divided into 2 equal parts results 2 hemispheres i.e. Northern hemisphere and Southern hemisphere. The area occupied by the outer surface of a three-dimensional object is called the surface area. Formula to calculate surface area of hemisphere − Mathematically it can be represented as $$\mathrm{Surface \:Area \:= \:2\pi\:r^2}$$ Mathematically it can be represented as ... Read More
 
			
			1K+ Views
A number is said to be an ugly number, if the prime factors of that input number only include 2, 3 and 5. Maybe some number has some prime factors which have only one factor or two factors but those factors must be one of 2, 3, and 5. In this article we will see how to check if a number is an Ugly number or not by using Java programming language. To show you some instances Instance-1 Input number is 20. Let’s check it by using the logic of Ugly number. Prime factors of 20 = 2, 2, 5 ... Read More