In this guide, you will learn how to convert Timestamp to Date. Timestamp has higher precision than date and is used when we want to… [Read More]
Java Date to Timestamp Conversion
Timestamp has higher precision as it includes fraction seconds, while a Date is accurate upto seconds as it doesn’t include fraction of seconds. In this… [Read More]
Java Object to String Conversion
In this guide, we will learn how to convert Object to String in Java. We will also see program for StringBuffer and StringBuilder object to… [Read More]
Java String to Object Conversion
In this guide, we will learn how to convert String to Object in Java. Object is a parent class of all the classes in Java… [Read More]
Java String to float Conversion
In this guide, we will see how to convert String to float in Java. We will use the parseFloat() method of Float class for this… [Read More]
Type Casting in Java
Assigning a value of one primitive data type to another primitive data type is known as casting. There are two types of type casting in… [Read More]
Program to Convert Feet to Inches in Java, C, C++, Python & PHP
In this guide, we will see programs to convert length given in feet to inches in various programming languages such as Java, C, C++, Python,… [Read More]
Program to Convert Kilometres (km) to Centimetres (cm)
In this guide, we will see programs to convert Kilometres to Centimetres in various programming languages such as Java, C, C++, Python, PHP. The kilometres… [Read More]
Program to Convert Inches to Feet
In this guide, we will see programs to convert inches to feet in various programming languages such as Java, C, C++, Python, PHP. The inches… [Read More]
Program to Convert Inches to Centimetres
In this tutorial, we will write programs in different programming languages to convert inches to centimetres. Inches and centimetres (cm) both are the unit of… [Read More]
Java Octal to Decimal Conversion with examples
In this article, we will see how to convert Octal to Decimal in Java with the help of examples. There are two ways we can… [Read More]
Java Hexadecimal to Decimal Conversion with examples
In this guide, we will learn how to convert a hexadecimal to a decimal number with the help of examples. Java Hexadecimal to Decimal Conversion… [Read More]
Java Binary to Octal Conversion with examples
In this tutorial, we will see how to convert a binary number to an octal number with the help of examples. Java binary to octal… [Read More]
Java String to boolean Conversion with examples
In this guide, we will see how to convert a String to a boolean with the help of examples. When converting a String to a… [Read More]
Java int to char conversion with examples
In the last tutorial, we have discussed char to int conversion. In this guide, we will see how to convert an int to a char… [Read More]