Translate

Friday 1 October 2021

Numbers in GroovyScripting groovy training videos in telugu 07

 Watch This Video

https://youtu.be/IXhCHKWaQFQ

----------------------------------------------------------------------------------------

// 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.