Up to Schooling we may only find factorial up to 25 but in real engineering we may have to deal with the largest numbers where the usual datatypes may not work. In Java , BigInteger is the pre-defined class we use in order to deal with those numbers.
Tuesday, 30 June 2015
Converting Numbers to Different Numerical Systems in JAVA
You may have to change the numbers from one format to other format, as like from decimal to hexagon . Here i have tried the different approach where you can convert from one numerical system to other numerical system using the digits in that numerical system. For Example
Sunday, 7 June 2015
Validating IPAddress in Java
This is the part of the java Regular Expressions, Validating,searching the data using the matches function This is mostly used in analyzing the data. To know further about it read about JAVA Regex import java.io.*; public class ValidIP{ public static void main(String []args){ String IP="000.12.12.034";
Subscribe to:
Posts (Atom)