Convert Decimal to Octal
In this section, you will learn to convert a decimal
number into a octal
number .
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.
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.
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.
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.
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.
Convert String to Date
In this example we are going to convert string into date.
Convert Date to Calendar
In this example we are converting date into
Calendar. Here we are using format method to convert date
into string.
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.
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.
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.
Convert String to Calendar
In this example we are converting string value into Calendar.
Convert Millisecond to Date
In this example we are converting Milliseconds
into
Date.
Convert Date to Timestamp
In this example we are converting date into
a timestamp format.
Convert Long to Date
In this example we are converting Long value into
Date.
Convert Date to GMT
In this example we are converting date into GMT.
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.
Convert
Inputstream to
Bufferedreader
In this example we are going to convert
Inputstream to Bufferedreader.
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.
Convert InputStream to
ByteArray
Here we will learn the conversion of an input
stream into a byte array.
Convert
InputStream
to ByteArrayInputStream
In this example we are going to convert
InputStream to ByteArrayInputStream.
Convert
Inputstream to File
Here we are showing how to convert an InputStream to
File.
Convert String
to Date
In this example we are going to convert string into date We are creating
DateFormat by using SimpleDateFormat .
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 .
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.
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.
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.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.
Ask Questions? Discuss: Java Conversion
Post your Comment