viii) Keywords and Reserved Words:
In the table below, all the Implemented and reserved keywords have been listed.
Implemented Keywords |
abstract |
after |
and |
as |
at |
attribute |
before |
bind |
bound |
break |
catch |
class |
continue |
dur |
delete |
else |
exclusive |
extends |
false |
finally |
for |
function |
if |
in |
indexof |
init |
insert |
into |
inverse |
instanceof |
import |
lazy |
new |
not |
null |
or |
on |
override |
package |
private |
public |
return |
replace |
super |
sizeof |
static |
step |
then |
this |
throw |
true |
try |
tween |
var |
with |
where |
while |
|
Reserved Keywords |
assert |
by |
do |
first |
from |
last |
lazy |
let |
protected |
readonly |
typeof |
|
|
|
ix) Sequences:
Sequences in JavaFX are like arrays in Java Programming Language.
Sequences are declared as:
var myArray:Integer[]; // Sequence of Integer
var myStringArray:String[]; // Sequence of String
For example:
var myArray:Integer[];
myArray =[10,20];
java.lang.System.out.println(“Array elements are:”);
java.lang.System.out.println(myArray [0]);
java.lang.System.out.println(myArray [1]);
Output of the above code will be as below:
Array elements are:
10
20 |