Supported expressions for Interpreted Java programs

The following types of expressions can be evaluated:

Supported expression type Operator
static and nonstatic field selection dot (.)
identification of a nested class, as A.B dot (.)
array subscripting [ ]
conditional expression ? :
logical expressions && || !
bitwise expressions & | ^ ~
shift expressions << >> >>>
arithmetic expressions + - * / %
unary expressions unary+ unary -
string concatenation +
array length ".length"
comparison expressions < > <= >= == !=


Supported data types for Java programs