Java_OverView1
Variables and Computing
Computer or Computing
Data Types:
Application structure
Class Hello with main() method is the bare minimum requirement of an application.
main() method here is an entry point of an application, Java won't compile if an application has more than one main() method.
Java runs in a Virtual Machine
Variable initiation or assignment with with values.
String str1 ="ABCD"; int n1 = 20;
Operators
Unary Operators: unary operators require only one operand.
n1 .= +2,
n1 = -2
n1 = n2++,
n1 = n2--,
b1 = (!notfalse)
Conditional Operator :
equal to = = ;
not equal to !=
greater than >
less than <
greater than or equal to >=
less than or equal to <=
Bit wise and Bit shift operators
~ unarray bit wise complement