what is the form of storage space in java?
Answers were Sorted based on User's Feedback
for objects Head that is garbage collectable,
for methods,local variables are stored in stack.
| Is This Answer Correct ? | 9 Yes | 0 No |
Answer / ravikiran(aptech mumbai)
heap is the storage space for all the objects
| Is This Answer Correct ? | 4 Yes | 2 No |
Answer / neelamadhab mallick
All the instance variable stored in Stack Memory, If you r
using "new" operator for creating the objects means it will
create under Heap memory......
| Is This Answer Correct ? | 2 Yes | 2 No |
what is Vector class?
They had given one progam final HashMap hm=new HashMap(); public void show() { hm.put("name",value); } in this prg here the final hashtable value can be changed in put method,its the prg run?
What is the difference between abstract class and interface1? What is an interface?
What is udp in java?
What data type is string java?
what invokes a threads run() method? : Java thread
program to validate the IP address? Validity range should be 0 to 255
Can u write constructor in abstract.If yes den when it will be invoked.
When super keyword is used?
What are virtual functions?
Add a value x to array from index l to r where 0 <= l <= r <= n-1
What is a method in programming?