We are still working on the site, in the meantime enjoy our videos on YouTube from the link above

Wanna become a video creator for slidenerd and earn money + fame? Email us your interest on slidenerd@gmail.com

We understand if you hate ADS on YouTube, however, please Donate to slidenerd so that we can hire more video makers to create better quality videos for different subjects

Donate $ to slidenerd

Data types in Java

The smallest number in Java is the byte, which as the name says is 1 byte

byte no=124;

Meet short

Despite the name, it takes twice the space as a byte making it 2 bytes

short bigNo=25400;

What about integers?

'int' is 4 bytes in length

int biggerNo=124546;

What is bigger than int?

Meet long whose 8 bytes

long biggestNo=5465486415L;

Hey, why no decimals?

Because,we have float and double for that

float decNo=3.14F;

double biggerDecNo=3.14159625;

Read more