How variables are stored in memory?
Answer / Ashish Khetal
In Java, each variable is allocated a certain amount of memory depending on its data type. The exact location of the variable in memory is determined by the JVM (Java Virtual Machine). Primitive types like int and char are stored as they are in memory, while objects and arrays occupy more memory space.
| Is This Answer Correct ? | 0 Yes | 0 No |
How to add and remove nodes in Jtree?
What is return in java?
What does java edition mean?
How will you communicate between two applets?
What is the private method modifier?
How do you remove an object from an arraylist in java?
Can we have return statement in finally clause? What will happen?
What are the high-level thread states in java programming?
Explain different data types in Java.
what type of questions asked for barclays technologies pune please send urgent
Which is the best sorting technique in java?
Why set is used in java?