Floating Point Datatype in Java

Get Into Code provides you with free C++ and Java Course in Hindi/Urdu and also provides you the opportunity to practice your skills to be perfect. In the previous video we have discussed about the Integer Datatype in Java. In this video we are going to discuss about Floating Point Datatype in Java.
Floating Point Datatype
Floating Point Datatype Variable can store Decimal point values or number. To create floating point variable, you have to write float or double followed by the name of the variable and ends with semicolon.
Syntax
float variable_name;
double variable_name;

It is further divided into two Datatypes.
  • Float
  • Double

Watch The Below Video For More Guideline

No comments

Powered by Blogger.