The type float specifies a single -precision values and that uses 32 bits of storage.
Single precision faster some processors and takes half as much space as double precision. but will become imprecise when the values are either very large or very small. variable of type float are useful when you need a fractional component, but don't require large degree of precision.
double precision as denoted by the double keyword.uses 64 bits to store a value. double precision is actually faster than single precision on some modern processors that have been optimized for high speed mathematical calculations.
Char is 16 bits. java uses unicode defines a fully international character set that can represent all of the characters found in all human languages it is unification of dozens of characters sets such as latin, Greek ,Arabic,
Java has a primitive data type called boolean for logical values.It can have only one of two possible values true and false.
The type float specifies a single -precision values and that uses 32 bits of storage.
Single precision faster some processors and takes half as much space as double precision. but will become imprecise when the values are either very large or very small. variable of type float are useful when you need a fractional component, but don't require large degree of precision.
double precision as denoted by the double keyword.uses 64 bits to store a value. double precision is actually faster than single precision on some modern processors that have been optimized for high speed mathematical calculations.
Char is 16 bits. java uses unicode defines a fully international character set that can represent all of the characters found in all human languages it is unification of dozens of characters sets such as latin, Greek ,Arabic,
Java has a primitive data type called boolean for logical values.It can have only one of two possible values true and false. this is the type returned by all relational operators.
Social Links:
FaceBook / howtolearnjava
LinkedIn: / suresh-bushaboina-604068189
На этой странице сайта вы можете посмотреть видео онлайн Float, Character and Boolean data types длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь java full stack training 25 Июнь 2019, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 19 раз и оно понравилось like зрителям. Приятного просмотра!