We use data types when creating variables in JavaBECAUSE, the variable we are creating should be some type like integer,character,or float etc.in the further programing we may need the particular variable so to access it ,we have adopted the concept of data type in Java