Java Question Based on Hashcode

Can we find Address and Size of Object in java, if Yes than How we will find or No than why ??

  • Brij
  • 15 Feb
  • 955 Views
  • 7 Answers
Your Answer

Yes,We can find address of Object in java using reference vareable which hold the address(reference) of object. A obj=new A(); S.O.P(obj);//it retruns address of object obj. also we can find the size of object using collection concept..

Core Java

Didn't get the answer.
Contact people of Talent-Core Java directly by clicking here