okay thank you But when i generate data Class then...
# android
r
okay thank you But when i generate data Class then can we set any Double or Integer as Number?
v
Sure,
Number
is superclass of both,
Double
and
Int
(as well as
Long
,
Short
,
Float
and
Byte
). So if you have a
Number
typed variable, you can assign any number to it.
r
oh, yes it is Help full me thank you @Vampire sir