The two curly braces form a block,which is necessary when more than one statement has to be executed with respect to the condition.
Data types tells the compiler the type of value to be stored in a variable. It also indicates the amount of memory space to be allocated .
Different types of variable's are used to use different type of data
numeric data type --; int,double, float,long etc
Non numeric--- arrays,char, String etc