Well, this may not be news for the most of you java gurus out there, but many a times, the primitives DO need a revisit.
Primitives refer to the base types offered ‘out-of-the-box’ by the Java programming gamut.
The base need of primitives arose due to the advertising and popularity of Java as a compile once – run anywhere paradigm.
Anyways, the below table should be a harmless refresher for that primitive coder in you ;-)
|Size (in bits)||Default Value (for fields)|
|double||64 (yes, same as long :-) )||0.0d|
Hope this gives some quick help to someone out there!