The Artima Developer Community
Sponsored Link

Java Buzz Forum
Friday JavaFX Script Quiz: Know Your Keyword: Bind

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Weiqi Gao

Posts: 1808
Nickname: weiqigao
Registered: Jun, 2003

Weiqi Gao is a Java programmer.
Friday JavaFX Script Quiz: Know Your Keyword: Bind Posted: Jul 18, 2008 5:58 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Weiqi Gao.
Original Post: Friday JavaFX Script Quiz: Know Your Keyword: Bind
Feed Title: Weiqi Gao's Weblog
Feed URL: http://www.weiqigao.com/blog/rss.xml
Feed Description: Sharing My Experience...
Latest Java Buzz Posts
Latest Java Buzz Posts by Weiqi Gao
Latest Posts From Weiqi Gao's Weblog

Advertisement

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}");

Read: Friday JavaFX Script Quiz: Know Your Keyword: Bind

Topic: modern Java/Ajax Apps - where to stop JS coding Previous Topic   Next Topic Topic: Sun has posted the first milestone of NetBeans 6.5, its open source IDE for Java, Ruby,...

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use