Follow the steps in this tutorial to create your first Java program in the BlueJ programming environment.
Q: What is the difference between the print() and println() methods?
Read the unit on Java class, methods and instance variables
int, double, and boolean (not the char type)
Watch this video first
Then watch the video on the int data type operations
"final" keyword
e.g.: final double VAT_RATE=19.0
Operators of equal precedence are invoked from left to right (except for the first and last line where it's from right to left). Casting takes place first. Parentheses have precedence over arithmetic operators.
+=, -=,*=,/=,%=
a+=1
" reads as "a=a+1
", etc. ++
( plus one) --
(minus one)Q: Do the increment/decrement operators work in Python?
Read the w3schools entry on primitives casting in Java
Q: What is the equivalent of casting in Python?