Showing posts with label Basics of java. Show all posts
Showing posts with label Basics of java. Show all posts

Wednesday, March 13, 2019

Java Basics

Learn the basics of java with source code.

Variables work as a container in programming language where we store the date. Variable can be change whenever needed.
int i;
i=10;
i=20;
we can change the value of variable whenever the need to require


Float integer types are
byte
8 bits
int
32 bits
short
16 bits
long
64 bits

Two floating points are
float
32 bits
double
64 bits