what is type | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

what is type

javis

20th Sep 2019, 2:35 PM
Moesha Mccollin
Moesha Mccollin - avatar
2 Answers
+ 4
Moesha Mccollin Based on what you've already read, how have you been thinking about types? What part you are struggling with this concept?
20th Sep 2019, 3:18 PM
David Carroll
David Carroll - avatar
+ 4
variables in java need to know there type first this means you cant assign data to a variable without it knowing what its storing first... the reason for this like what ~ swim ~ said the correct memory needs to be allocated so that data can be stored correctly.
20th Sep 2019, 8:50 PM
D_Stark
D_Stark - avatar