Translate

Friday, 1 October 2021

Data types in Java in Groovy Scripting groovy training telugu 14

 Watch This Video


https://youtu.be/IwswFk7eQMg


----------------------------------------------------------------------------------------------------------------------
// 8 types Data Type

//byte
byte r=1000;
System.out.println(r);
//short
byte s=1000;
System.out.println(s);
//int
int i=8;
System.out.println(i);
//long
long l=7;
System.out.println(l);

//float 
float g=1.7f;
System.out.println(g);

//double
double h=2.55d;
System.out.println(h);

//char
char a='y';
System.out.println(a);

//String
String b="it is friday";
System.out.println(b);

No comments:

Post a Comment

Note: only a member of this blog may post a comment.