Statistics
The Highest Post







Statistics
Count 94
Avg 21.00
Min 21
Max 21
Angualr Top questions

Details



Peter Agyekum Describe the variables in Java? Primitive and reference variables. Primitive variables are data types like integers, decimals, and alphanumeric characters. Reference variables store memory addresses where Objects are located and are strongly typed too – a reference variable has a type that is the class whose objects the reference variable can point to. Primitives variable types are called “primitive” because they hearken back to a time before Object-Oriented Programming and reference variables were a thing. Primitive types of variables take up specific, predefined amounts of space in memory, and a range of values they can store.