Search Header Logo

JavaFX

Authored by rps.informatika rps.informatika

Information Technology (IT)

9th - 12th Grade

Used 4+ times

JavaFX
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

What is the entry point for all JavaFX applications ?

main()

start()

package()

class()

2.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

Which class represents a window in Java FX ?

scene

stage

application

pane

3.

FILL IN THE BLANK QUESTION

45 sec • 2 pts

Create btn object of class Button (put space between words)?

4.

FILL IN THE BLANK QUESTION

45 sec • 2 pts

Set text "Solutions" on the object btn !

5.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

Which method will we use if we want to set the width of the object btn ?

setWidth()

setMinWidth()

setW()

setWth()

6.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

What is not JavaFX node ?

Button

ImageView

Picture

Text

7.

FILL IN THE BLANK QUESTION

45 sec • 2 pts

Fill in the blank !!!

btn.setOnAction(new EventHandler<____________>() {

@Override

public void handle(ActionEvent event) {

System.out.println("Hello World!");

}//end method handle

});//end setOnAction

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?