JAVA
Public static void main(String args[])
Static => called without having to instantiate particular instance of the object.
String args[] => to receive command line arguments.
System.out.println("This is num: " + num); -> correct
System.out.println("This is num: " num); -> wrong
System.out.println(num); -> correct
System.out.println(+num); -> correct
+ appends the num to the string.
Using + we can append n no of string in a single statement.
DATA TYPE:
INTEGER=> short,int,long,byte
FLOATING POINT NUMBER => float(32 bit),double(64 bit)
CHAR(8 bit)
BOOLEAN(o or 1)
Automatic type conversion => destination type is larger than the source type.
Explicit type conversion => (target-type)value