public class Try
{
public static void main(String[] args)
{
System.out.println(Integer.toHexString(4500));
System.out.println(Integer.parseInt(Integer.toString(1194), 16));
}
};
join function is easy to use concate string from array.
example
<php
$array = array('lastname', 'email', 'phone');
$comma_separated = join(",", $array);
echo $comma_separated; // lastname,email,phone
?>
(php4, php5);