hi i need the help that how to calculate the bytes of datatypes in java...?
if it in c/c++ we will use sizeof.. but in java.. how could?
cvanithakpm
0
Newbie Poster
Recommended Answers
Jump to PostThe Java language specification defines the behaviour of the primitive data types - eg byte is an 8 bit value with values from -128 to 127, inclusive, but there is no specification for how these values are actually stored by the Java Virtual Machine, although you can guess. There is …
All 4 Replies
JamesCherrill
4,733
Most Valuable Poster
Team Colleague
Featured Poster
sanzhar
0
Newbie Poster
cvanithakpm
0
Newbie Poster
JamesCherrill
4,733
Most Valuable Poster
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.