Results 1 to 2 of 2
Thread: Memory Allocation
- 07-18-2011, 03:44 AM #1
Member
- Join Date
- Jul 2011
- Posts
- 1
- Rep Power
- 0
Memory Allocation
Just a quick and (hopefully) easy question about the actual memory allocation of lines of code.
in the code:
class Asdf{
Object[] a;
public Asdf(){
a = new Object[0];
}
}
is memory allocated for the array at the line Object[] a; or rather at the initialization inside the constructor?
- 07-18-2011, 03:48 AM #2
Similar Threads
-
Arrays memory allocation
By maya700 in forum New To JavaReplies: 5Last Post: 07-16-2011, 08:47 AM -
JNI Memory Allocation
By Smokin' Caterpillar in forum Advanced JavaReplies: 3Last Post: 09-16-2010, 05:00 PM -
Memory Allocation
By zzpprk in forum Advanced JavaReplies: 2Last Post: 03-16-2010, 01:14 AM -
Array memory allocation
By number5isalive in forum Advanced JavaReplies: 8Last Post: 10-14-2009, 08:04 AM -
Memory Allocation
By kishan in forum New To JavaReplies: 3Last Post: 09-19-2009, 05:47 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks