I want to know how serialization is done internally
with primitives(int,long,float,boolean) and primitive objects
Long,Integer,Float..)
I have seen the forums that they use java.io.DataOutputStream
and they have writeInt,writeFloat methods for primitives types.But
still not clear does DataInputStream implements Serializable? How internally this works? How primitives are serialized when we make a
method call?
As far as primitive Objects(Long,Float..) I have seen they extend Number,
but then does Number implements serializable??
I saw Java docs but still not clear how this work internally??
I want to know if I can call a method with
method1(int a,float b)
nethod2(Integer a,Float b)and will that be serialized??
Does anyone ps help me understanding this concept?
Thanks in advance
ananth
with primitives(int,long,float,boolean) and primitive objects
Long,Integer,Float..)
I have seen the forums that they use java.io.DataOutputStream
and they have writeInt,writeFloat methods for primitives types.But
still not clear does DataInputStream implements Serializable? How internally this works? How primitives are serialized when we make a
method call?
As far as primitive Objects(Long,Float..) I have seen they extend Number,
but then does Number implements serializable??
I saw Java docs but still not clear how this work internally??
I want to know if I can call a method with
method1(int a,float b)
nethod2(Integer a,Float b)and will that be serialized??
Does anyone ps help me understanding this concept?
Thanks in advance
ananth