Watch This Video
----------------------------------------------------------------------------------------// in java we represent number variable
int a=1;
float g=5.5f
byte
double
// in groovy
1.getClass().getName()
'rashmi'.getClass().getName()
x=1
x.class
def x=1.5
x.class
def x=1.5d
x.class
No comments:
Post a Comment
Note: only a member of this blog may post a comment.