Primitive Data Types in Java – Boolean
Primitive data types are very important in any language. Without this data types we cannot understand programming language. We can also called primary data types in java. In this primitive data types we found four types of family like Integer, Float, Character and Boolean. And these families have their own children like Integer [byte, short, int and long], Float [float, double], Character [char].
Data Type Details
|1||boolean||1 byte||True / False|
Program in True False Data Types:
Title: Primary Data Type – True False Value
public static void main(String args)
boolean b = true;
if(b) // Value of b is true so if condition will be true.
Video also available on YouTube
If you have problem on this blog, you can directly comment or subscribe on website.
593total visits,2visits today