|
String
|
" type string here "
|
|
int
|
E.G: 0
|
|
boolean
|
true/false
|
|
char
|
'x'
|
|
double
|
E.G 0.00
|
|
+
|
Addition / String concatenation
|
|
%
|
Modulus (remainder)
|
|
++ , --
|
Increment / Decrement by 1
|
|
!
|
Inverts boolean value
|
|
= , ==
|
Assigns, Equals to
|
|
!=
|
Does Not equal to
|
|
>=
|
Greater than OR Equal to
|
|
<=
|
Lesser than OR Equal to
|
|
&&
|
Conditional - AND
|
|
||
|
Conditional - OR
|
|
System.out.println(line)
|
|
System.out.printf(format, arguments)
|
|
Helper.readDataType(string)
|
|
while(condition)
|
(option != 4) { code }
|
|
for(var,cond,incre)
|
(int 1=0;i<10;i++)
|
|
if / else if / else
|
if(condition) { code }
|
|
switch(Expression)
|
switch (choice)
|
|
int
|
0
|
|
double
|
0.0
|
|
boolean
|
false
|
|
String
|
null
|
|
charAt(index)
|
Returns char @ index
|
|
endsWith(suffix)
|
if ends w suffix
|
|
equalsIgnoreCase(string)
|
|
|
length()
|
Returns length of string
|
|
startsWith(prefix)
|
if starts w prefix
|
|
toUpperCase()
|
Converts to upperCase
|
|
toLowerCase()
|
Converts to lowerCase
|
No comments yet.
Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.