Magazine
 
Quick Review:JavaFX
 
Working with JavaFX Classes and Objects

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

Aug 2008 | Java Jazz Up |24
 
previous
index
next
 
Pages: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29,

30
, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57,

58, 59, 60, 61, 62, 63 Download PDF