Forum Stats

  • 3,853,806 Users
  • 2,264,277 Discussions
  • 7,905,450 Comments

Discussions

Datatypes

807569
807569 Member Posts: 34,691
edited May 15, 2006 8:07AM in Java Programming
HI All,

The following query might look absurd in context to java, but I was asked this question at an interview with a very reputed organization. Please help and provide me a solution:

Is there a way to determine the size of primitive datatypes in java? (Like, C/C++ provides the sizeof() operator)

Thanks and regards,

Rajat Aggarwal

Comments

This discussion has been closed.