regarding object size and reference variable size in java
1.) What will be the size of an object of class ABC (down here) in Java ,if the class has no member variables or member functions .
Eg :-
class ABC
{
}
What will be the size of object of class ABC if we do
ABC ob1 = new ABC();
2.) What is the size of a reference variable in Java
Do we have a sizeof operator in Java as we have in C/C++
--
faisal

