Core Java| JSP| Servlets| XML| EJB| JEE5| Web Services| J2ME| Glossary| Questions?

 

 

 

 

 

 

 

 

 

 

 

 

 

Search Tutorials:
 

Software Solutions and Services
 

 
  JDO Tutorials
  EAI Articles
  Struts Tutorials
  Java Tutorials
  Java Certification
  Java Applet
Questions
Comments
 
Java Conversion 
 

Convert Decimal into Binary In this section, you will learn to convert decimal number into binary. The java.lang package provides the functionality to convert a decimal number into a binary number.

 

Java Conversion

                         

  1. Convert Decimal into Binary 
    In this section, you will learn to convert decimal number into binary. The java.lang package provides the functionality to convert  a decimal number into a binary number.
        
  2. Convert Decimal to Octal
    In this section, you will learn to convert a decimal number into a octal number . 

  3. Convert Decimal to Hexadecimal
    In this section, you will learn to convert decimal data into hexadecimal. The java.lang package provides the functionality to convert a decimal number into hexadecimal.

  4. Convert Binary to Decimal
    In this section, you will learn how to convert  binary number  into decimal. The java.lang package provides the facility for converting the data integer into the binary to decimal. 

  5. Convert Binary to Hexadecimal
    In this section, you will learn to convert binary data into hexadecimal.  The java.lang package provides the functionality to convert the binary data into hexadecimal. 

  6. Convert Octal to Decimal
    In this section, you will learn to convert an octal number to decimal. The following program helps you converts number octal to decimal. 

  7. Convert Hexadecimal to Decimal
    In this section, you will learn to change hexadecimal number into decimal. The java.lang package provides the functionality to convert a hexadecimal number into decimal.

  8. Convert Hexadecimal number into Integer 
    In this section, you will learn to convert hexadecimal data into integer. The java.lang package provides the functionally to convert the hexadecimal data into an integer type data. 
          
  9. Convert Hexadecimal into Binary and Long
    In this section, you will learn to convert the hexadecimal data into the binary and long format. The java.lang package provides the functionality to convert a hexadecimal to binary and long type data. 
               
  10. Convert an Integer into a String
    In this section, you will learn to convert an integer type data into a string type. The java.lang package provides this conversion  functionality through toString() method.
             
  11. Convert a String into an Integer Data
    In this section, you will learn to convert a string type data into an integer type. The java.lang package provides the functionality to convert the string type data into an integer type data.
             
  12. Convert a Character into the ASCII Format
    In this section, you will learn to convert a character data into the ASCII format. The java.lang package provides the functionality to convert the  character data into the ASCII format
            
  13. Convert Character into Integer
    In this section, you will learn to convert the character into a integer. The java.lang package convert provides the facility to convert the character data into an integer type.
                 
  14. Alphabet Character Case-Converter
    In this section, you will learn to convert a character (uppercase) into a lowercase character. The java.lang package provides the functionality to convert the uppercase character into a lowercase character. 
           
  15. Convert Character into a String
    In this section, you will learn how to convert a char into a string type data. The java.lang package provides the functionality to convert a character into a string. 
               
  16. Convert String to Date
    In this example we are going to convert string into date. 

  17. Convert Date to Calendar
    In this example we are converting  date into Calendar. Here we are using format method to convert date into string.  

  18. Convert Date to Milliseconds
    In this example we are converting  date into milliseconds. In  this example we are using getTime() method to get time/date as long return type.

  19. Convert Date to Long
    In this example we are converting  date into long. In  this example we are using getTime() method to get time/date as long return type. 

  20. Convert Date to String
    In this example we are converting  date into string. In  this example we are using format method to convert date into string. 

  21. Convert String to Calendar
    In this example we are converting  string value into Calendar. 

  22. Convert Millisecond to Date
    In this example we are converting  Milliseconds into Date.   

  23. Convert Date to Timestamp 
    In this example we are converting  date into a timestamp format.

  24. Convert Long to Date 
    In this example we are converting  Long value into Date.   

  25. Convert Date to GMT
    In this example we are converting  date into GMT.      

  26. Convert InputStream to Byte 
    In this example we are going to convert input stream to byte. Here we are going to read input stream and converting it into bytes. To do so first read the input stream from dos prompt then store it into an integer. Finally type cast the integer value into byte.    

  27. Convert Inputstream to Bufferedreader
    In this example we are going to convert Inputstream to Bufferedreader.

  28. Convert Inputstream to Outputstream
    This discussion shows how to convert an  InputStream to OutputStream. Here we are trying to make understand the conversion of an input stream into an output stream by taking an example. 

  29. Convert InputStream to ByteArray
    Here we will learn the conversion of an input stream into a byte array.

  30. Convert InputStream to ByteArrayInputStream 
    In this example we are going to convert InputStream to ByteArrayInputStream.

  31. Convert Inputstream to File 
    Here we are showing how to convert an InputStream to File.

  32. Convert String to Date
    In this example we are going to convert string into date We are creating DateFormat   by using SimpleDateFormat .

  33. Convert Char to Byte
    This section illustrate the conversion from char to Byte. Here, we are going to convert a char type variable into byte type variable .

  34. Convert Double to String
    This is a simple program based on the package java.lang.  This section learns you the conversion of double into string.

  35. Convert ArrayList to Array
    This is a simple program of java util.package. In this section, you will learn how to convert an Arraylist into an array. 

  36. Convert Byte To Hexadecimal
    In this section, We are going to convert a byte value into a hexadecimal number. The package java.lang provides the functionality for this conversion.

  37. Convert Boolean to String
    In this section, we are going to convert a Boolean type data into a string. 
       
  38. Convert Decimal to Integer
    In this section, you will learn to convert  a decimal number into an integer. The java.lang package provides the functionality to convert a decimal number to an integer type number.
        
  39. Convert Float into Integer
    In this section, we will learn to convert a float type data into an integer. 
         
  40. Convert Integer to Double 
    In this section, you will learn to convert an integer into a double. The the java.lang package provides the functionality for converting an integer type data into a double.
       
  41. Convert Integer to Float
    In this section, you will learn to convert an integer type data into a float. The following programs helps you in converting an integer into a float type data. 
       
  42. Convert Long To Byte 
    In this section, we are going to convert a long type data into a byte. The following program provides you the functionality to convert into a long to byte.
       
  43. Convert String To Long 
    In this section, we are going to convert string to long. The following program provides a functionality  to convert a string data (integer)  into a long type data. 
                
  44. Convert Object to Int
    In this section, we are going to learn to convert a numeric string type Object into a primitive type int and Integer Object to primitive type int. .
                 
  45. Convert Object to Double
    In this section, we are going to convert an object type data into a double. 
        
  46. Convert Object To String
    In this section, you will learn to convert an object to a string. Object is a class of java.lang package.
        
  47. Convert String To  Float 
    In this section, you will learn to convert a numeric type string value into a float. 
        
  48. Convert String To Double
    In this section, we are going to convert a numeric type string value into a double. The double supports big-integer value. 
        
  49. Convert Number to Binary
    In this section, you will learn to convert a number to a binary (0,1). The given number is a decimal format and the following program to calculate its binary.
                     
  50. Convert Decimal to Charater
    This is the simple program of java.lang package. In this example, we are going to convert decimal number to its corresponding character.
                         
  51. Convert Decimal to Fraction
    In this example, you will learn how to convert decimal number to Fraction. The following program you convert it into the decimal to fraction value by using doubleValue() method.
                            
  52. Convert Hexadecimal to Character
    In this example, you will learn how to convert hexadecimal to char number. The following program provides you convert it into the hexa to char number.
                         
  53. Convert Number to Word
    In this example, We are going to convert number to words.
              
  54. Degree Converter
    In this example,  you will learn how to convert degree to Celsius, Celsius to Fahrenheit, Fahrenheit to Celsius, Celsius to Kelvin, and Kelvin to Celsius.
             
  55. Convert Text to Html 
    In this section, We are discussing the conversion of text into html file .This program functionally provides you converting text to html file by using FileOutputStream. The FileOutputStream() is a constructor.
                  
  56. Convert Text to word
    In this example, You will learn how to convert text to word file. Here, we are going to discuss about the conversion of text to word file.
      
  57. Convert Array to List
    In this section, you will learn to convert an Array to List. This program helps you in converting an Array to List.
      
  58. Convert Array to Vector
    In this section, you will learn to convert an Array to Vector. This program helps you in converting an Array into a Vector.
      
  59. Convert Collection to Array
    In this section, you will learn to convert Collection data to an Array. This program helps you in converting Collection data to an Array.
      
  60. Convert Vector to Array
    In this section, you will learn to convert Vector to an Array. This program helps you in converting Vector to an Array.
      
  61. Convert Text To Binary
    In this section, we will learn how to convert Text to Binary. The following program provides you the functionality to convert Text to Binary.
      
  62. Convert Number to String
    In this section, we will learn how to convert numbers to String. The following program provides you the functionality to convert numbers to String.
      
  63. Convert String to Number
    In this section, we will learn how to convert String to Number. The following program provides you the functionality to convert String to Number.
      
  64. Convert charArray to String
    Lets see how to convert charArray to String.
      
  65. Convert List to ArrayList
    In this section, you will learn how to convert List to ArrayList.
      
  66. Convert Time to Milliseconds
    In this section, you will learn to convert Time to seconds. An hour has 3600 seconds, a minute has sixty seconds and a millisecond is one thousand part of a second i.e. an unit for measuring the time.
      
  67. Convert Time to Seconds
    In this section, you will learn to convert Time to seconds. An hour has 3600 seconds and a minute has sixty seconds.
      
  68. Convert GMT to CST
    In this section, you will learn to convert a GMT to CST format. The GMT stands for Greenwich Mean Time and CST stands for Central Standard Time.
      
  69. Convert GMT to PST
    In this section, you will learn to convert a GMT to PST format. The GMT stands for Greenwich Mean Time and PST stands for Pacific Standard Time.
      
  70. Convert GMT to EST
    In this section, you will learn to convert GMT to EST. The GMT stands for Greenwich Mean Time and EST stands for Eastern Standard Time.
      
  71. Convert GMT to IST
    In this section, you will learn to convert a GMT to IST format. The GMT stands for Greenwich Mean Time and IST stands for India Standard Time.
      
  72. Convert GMT to CET
    In this section, you will learn to convert a GMT to CET format. The GMT stands for Greenwich Mean Time and CET stands for Central European  Time.
      
  73. Convert List to Array
    Lets see how to convert List to Array.
      
  74. Convert Array to String
    In this section you can see how to convert an array to a string or text.
      
  75. Convert Grams To Carats
    In this section, you will learn to convert Grams To Carats. The following program helps you in converting Grams To Carats.

  76. Convert Meters To Miles
    In this section, you will learn to convert Meters To Miles. The following program helps you in converting Meters To Miles. 

  77. Convert Gallons To Liters
    In this section, you will learn to convert Gallons To Liters. The following program helps you in converting Gallons To Liters.

  78. Convert Pounds To Kilograms
    In this section, you will learn to convert Pounds To Kilograms. The following program helps you in converting Pounds To Kilograms.

  79. Convert Kilograms To Pounds
    In this section, you will learn to convert Kilograms To Pounds. The following program helps you in converting Kilograms To Pounds.

  80. Convert Grams To Ounce
    In this section, you will learn to convert Grams To Ounce. The following program helps you in converting Grams To Ounce.

  81. Convert Grams To Pounds
    In this section, you will learn to convert Grams To Pounds. The following program helps you in converting Grams To Pounds.

  82. Convert Miles to Kilometers
    In this section, you will learn to convert Miles to Kilometers. The following program helps you in converting Miles to Kilometers.

  83. Convert Feet to Meters
    In this section, you will learn to convert Feet to Meters. The following program helps you in converting Feet to Meters.

  84. Convert Inches to Centimeters
    In this section, you will learn to convert Inches to Centimeters. The following program helps you in converting Inches to Centimeters.

  85. Convert Inches To Meters
    In this section, you will learn to Inches To Meters. The following program helps you in converting Inches To Meters. 

  86. Convert Liters To Gallons
    In this section, you will learn to convert Liters To Gallons. The following program helps you in converting Liters To Gallons.

  87. Convert Grams To kilograms
    In this section, you will learn to convert Grams To kilograms. The following program helps you in converting Grams To kilograms.

  88. Convert Carats To Grams
    In this section, you will learn to convert Carats To Grams. The following program helps you in converting Carats To Grams.

  89. Addition of two Number in Class
    In this program we will learn how to calculate any two number. Java is a object oriented  programming language in which uses of class consists of a collection of type of encapsulation instance variables and type of methods.

  90. The Array Palindrome Number in Java
    This is a Java simple palindrome number program. In this section you will read how to uses palindrome one dimensional array program. The array palindrome number arrange the array number. This session provide you the best explanation with the Java source code.

  91. Calculating Sum of two Multidim
    To make this program run we need to declare two multidimensional array of type int. Firstly calculate the length of the both the arrays. Now we need to make a matrix out of it. To make the matrix we will use the for loop. By making use of the for loop the rows and column will get divide. This process will be performed again for creating the second matrix.

  92. Calculate the Sum of three Numbers
    This is simple java programming tutorial . In this section you will learn how to calculate the sum of three numbers by using three static variables. 

  93. Changing the value of Array in Java
    This is very simple of one dimensional array program. In this tutorial you will learn how to change array values. The one dimensional array program is provided Java application program about the explanation with Java Source code. 

  94. Class Average Program
    This is a simple program of Java class. In this tutorial we will learn how to use java program for displaying average value. The java instances of the class, represent classes and interfaces in a running Java application. The class declares members instance and static initializes, and constructors.

  95. Dividing  Element of Two Dimensional Array
    In this Section we will learn how to get divide of two matrix. First all to we have to define class "ArrayDivideMatrix". Here you will learn how to use two matrix array for developing Java program. 

  96. Dividing of two Matrix in Java
    In this Section we will learn how to get divide of two matrix. First all to we have to define class "ArrayDivideMatrix". Here you will learn how to use two matrix array for developing Java program.

  97. Matrix Example in Java
    This Java programming tutorial you how you can work with the multidimensional array. Array is the collection of same data type. Consider that if have created a variable of type int then, the array of int can only store the int values. It can't store other than int data type.

  98. Three Dimensional Array program
    This is a very simple Java program. In this program we will learn how to use three dimensional array. Firstly, we have to define class name "ThreeDMatrix" . We are going to create 3 by 4 by 5 program. We are going to make three dimensional array having multi rows and columns.

  99. Two Dimensional Array Program Using Nested For Loop 
    This is a simple Java array  program . In this session we will teach how to make use of a two dimensional array. First of all we will define a class "Matrix". In this program we are going to make two dimensional array having three row and three columns. 

  100. Two Dimensional Array Program 
    This is very simple program of Java. In this lesson we will learn how to display arrange form of two dimensional array program. Firstly, we have to define class "TwoDimensional ". We are going to make a integer for array declaration Two dimensional array program. We are going to using for loop for performing the five rows and five columns.

  101. Two Element Dividing Number
    This is very simple java program. In this section we will learn how to divide any two number. In java program use the class package. The class declares members instance and static initialize and constructors. If you are newbie in java programming then you can understand very easy way from this example. 

  102. String Array
    This is simple java string  program. In this section we will learn how to make use of string array. In the java programming tutorial string, which are widly used in java program for a sequence of character. String are represents character string. This program are implemented such as "rose!" as instance of class.

  103. The Arithmetic Operators
    In this section we will learn how to calculate arithmetic operation. The java programming tutorial provide operators that perform the mathematical values addition, subtraction, multiplication, and division. 

  104. The Relational Operator
    This is simple java Relational operator program. In this section we will learn how to work all relational operation. We are going to use in  java program equally and relational operators determine if one operand is equal to, not equal to , less then, and greater then operand.

  105. The Unary Operators
    In this example we will see how we can make use of the unary operator. In java we have been provided the unary operators so we should know how to make use of those operators. 

  106. How to calculate area of Circle
    In this tutorial you will learn the method of calculating  the area of circle. In this program you will be taught each and every steps that have used in this program.

  107. How to calculate area of rectangle
    This is simple java program tutorial of rectangle. In this section we will learn how to calculate area of rectangle. The area of rectangle is specifies an area in a coordinate space that is enclosed by the rectangle object.

  108. How to calculate area of triangle
    In this section we will learn how to calculate area of triangle. We are going to use area of triangle is half of the area of the parallelogram. Here in this program we will fine the how to the display massage the area of triangle. The triangle application implement by the three side angle get the values of triangle.

  109. Prime Number in Java
    This Java programming tutorial will be read how to get prime number. First of all we will define a class "Prime Number". Java I/O package has a input stream and a output stream in which input stream is used for reading the stream and memory allocating and the output stream used for writing bytes. As in this program we are going to insert certain instruction by creating buffer reader class.

  110. Swap two any numbers
    This is a simple Java Oriented  language program. If  you are newbie in Java programming then our tutorial and example are helpful for understanding Java programming in the simplest way.  Here we will learn how to swap or exchange the number to each other. First of all we have to create a class "Swap". Now, we use the Integer.parseInt(args[o]) and Integer.parseInt(args[1]) methods for getting the integer type values in command line.

  111. Implementing Continue Statement In Java
    In this Session you will learn how to use continue statement. First all of define class "Continue". In this program used I/O package has a input stream in which input stream is used for reading the stream and memory allcating. As in this program we are going to create a buffer for the string class.

  112. Multiplication of two Matrix
    This is a simple Java multidimensional array program that teaches you the method to multiply two matrix. We are going to make a simple program that will multiply two matrix. Now to make this program run, you need to declare two multidimensional array of type integer. Here in this program use two for loops.

  113. Multiplication of Two Number in Class
    This section we will learn how to use multiply two number. A class consists of a collection of types of encapsulation instance variable and type of method with implementation of those types class that can used to create object of  the class. The class define two public for declare class name and second instance variable define.

  114. Squaring of two number in Static class
    In this section we will learn how to use static method and how can display multiplication of two any number. The static method use no instance variables of any object of the class they are defined in example.

  115. Convert a String to Hexa
    In the example given below, you will learn how to convert String to hexadecimal  number. This example takes a user input string and convert in hexa numbers.

 

                         

» View all related tutorials
Related Tags: c convert io help this program to learn ram ear e il it section li in converting m ps all

Leave your comment:

Name:

Email:

URL:

Title:

Comments:


Enter Code:

Audio Version
Reload Image
 

Note: Emails will not be visible or used in any way, and are not required. Please keep comments relevant. Any content deemed inappropriate or offensive may be edited and/or deleted.

No HTML code is allowed. Line breaks will be converted automatically. URLs will be auto-linked. Please use BBCode to format your text.

Add This Tutorial To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Training Courses
Tell A Friend
Your Friend Name
Website Designing Services
 
Web Designing Packages From $150!
 
Website Designing Company Web Hosting
 
Website Designing Quotation
 
Search Tutorials:

 

 
 

Home | JSP | EJB | JDBC | Java Servlets | WAP  | Free JSP Hosting  | Search Engine | News Archive | Jboss 3.0 tutorial | Free Linux CD's | Forum | Blogs

About Us | Advertising On RoseIndia.net  | Site Map

India News

Indian Software Development Company | iPhone Development Company in India | Flex Development Company in India | Java Training Delhi | Java Training at Noida |

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright © 2008. All rights reserved.