posted 19 years ago
Hi to All..I do have a small trecky question..
Suppose u have a class(file1) which contains only methods..say 5 methods with blank implementations of all these methods..take an example of such method--
void method1(){ }
void method2(){ } and so on.....compile this file --(say file1.java)
And on the other hand....
u have a class(file2) which contains only methods..say 10 methods with blank implementations of all these methods.
void method6(){ }
void method7(){ }...so on...compile it (say file2.java)
Now My point is that.....
So if u create objects of file1 and file2, can u tell me how much memory they would going to be allocated...???How this situation is being handled away???
Thnx in advance .....for ur most valuable suggestions...