How would you like to MASTER graphic design by next week?
Click here to find out how
Featured Photoshop templates - professional ready to use designs for your next project
View all templates
Java Number Tutorials
Atlassian Confluence Cluster in the Cloud
You can easily run Atlassian Confluence in a clustered environment instead of a single server in the cloud, so that clients can connect to any copy and see the same information. Such a clustered configuration provides scaling under the load, i.e. a single installation of Confluence cluster serves a much greater number of concurrent requests than a single server. It greatly improves performance for organizations that demand higher availability or have a large number of concurrent users.
Write a Java Program to Print the Factorial of a Number
This Java programming tutorial will show you how to print the factorial of a number using recursion.
Write a Java Program to Reverse Numbers
This simple Java program teaches you how to reverse numbers using an arithmetic operator.
How to Check Prime Numbers in Java
In this article we will discuss how to determine if a number is prime in Java with examples.
How to reverse number in Java with Example
Simple Java program which teaches how to reverse Java program by using arithmetic operator in Java. In order to reverse digit of a number you need to use divide and modulas operator.
How to write function to find factorial in Java - Recursion Example
factorial program in Java is natural example of recursion. because factorial algorithm itself multiply number to one less than it until it get zero, you can represent this algorithm easily using recursion in java
java.lang.UnsupportedClassVersionError: Bad version number in .class file cause and solution
Quick guide on how to solve Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file with real cause and troubleshooting tips.
Avoid float and double calculation for monetary value
Quick Java tutorial and guide on Why double and float not good for exact result and not suitable for monetary calculation.Java programming language has some points where it demands experience one of them is monetary calculation. float and double though used to represent floating point number they are not good candidate for storing monetary value as there calculation is not always exact. instead use BigDecimal or int .
Formating number in Java using DecimalFormat
Quick Java guide and example to format numbers in Java. you can use java.text.DecimalFormat class to format numbers in any format like having numbers with two digits after decimal point or having comma after three digits in numbers etc.
Difference between ConcurrentHashMap and Hashtable in Java
ConcurrentHashMap is indeed best choice in case of multithreaded environment if numbers of reader is much greater than number of writer to avoid contention and to increase throughput and performance but deciding between SynchronizedHashMap and ConcurrentHashMap in Java is still requires understanding of use cases and actual environment.
How to convert decimal to binary in Java with Example
This article is about how to convert decimal string to binary format in Java. many times we need to change the base of numbers and Java provides convenient method and utility to convert form decimal to binary.Java has methods which takes an appropriate value and a based and than convert that into corresponding base.
JDK7 new feature String in switch case with example
string and switch in jdk7 example tutorial many a times we want to switch based upon string output received from user or other part of program but before JDK7 we can't do it directly instead either we need to map those String to final integer constant or char constant to use them inside switch and case or you need to fallback on if-else statement which gets clumsy once number of cases getting increased. But now with jdk7 you can directly use String inside switch and case statement. Though itís pretty straight forward feature let see an example of how to use String inside switch and case statement in JDK7.
How to convert String to Integer to String in Java example
Converting string to integer and Integer to String is one of the basic tasks of Java and most people learned about it when they learn java programming. Even though string to integer and integer to string conversion is basic stuff but same time its most useful also because of its frequent need given that String and Integer are two most widely used type in all sort of program and you often gets data between any of these format. Few days back I had to convert a binary String into integer number and then I thought about this post to document all the way I know to convert between integer to string and string to integer. Here is my known way of string to integer conversion with example in java:
Java random number generation
This article demonstrates how to generate random numbers in Java. The code examples helps you to understand the details.
Java string to int conversion
This article demonstrates how to convert a string that contains a number value to an integer in Java.