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

[415 byte] By [cyberbuddya] at [2007-10-2 11:15:28]
# 1
http://onesearch.sun.com/search/onesearch/index.jsp?qp_name=null&qt=size+of+object&subCat=siteforumid%3Ajava31&site=dev&dftab=siteforumid%3Ajava31&chooseCat=javaall&col=developer-forums
CeciNEstPasUnProgrammeura at 2007-7-13 4:04:50 > top of Java-index,Java Essentials,Java Programming...
# 2
http://www.javaworld.com/javaworld/javaqa/2003-12/02-qa-1226-sizeof.html(arrived at by typing the last line of the OP into Google and hitting "I'm Feeling Lucky").I, for one, welcome my new Google masters.
tsitha at 2007-7-13 4:04:50 > top of Java-index,Java Essentials,Java Programming...