<< SoyLatte To Be Integrated Into OpenJDK | Home | Everybody Is Open Sourcing His Messaging Software >>

Friday JavaFX Script Quiz: Know Your Keyword: Bind

Accoding to joshy, the "JavaFX SDK" Preview Release will happen by the end of the month. A lot of people are excited (, or not) about this release. I'm not sure how much of the audio/video support Christopher Oliver outlined on the openjfx-compiler mailing list will be included.

Nevertheless, this is a good excuse to step away from our daily used Java, and take a look at JavaFX Script.

Q: Will the following JavaFX Script script compile and run without exceptions? If so, what will it print?

import java.lang.System;

var x: Integer = 1024;
var y: Integer = bind x * 4;
System.out.println("x = {x}, y = {y}");

x = 2048;
System.out.println("x = {x}, y = {y}");



Add a comment Send a TrackBack