What is the purpose of data types when declaring variables and constants?

1 answer

Answer

1153329

2026-06-02 05:55

+ Follow

Java
Java

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

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.