Search Header Logo

JavaFX cycle 2 exam(practice)

Authored by Bryan Campbell

Computers

11th - 12th Grade

Used 239+ times

JavaFX cycle 2 exam(practice)
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the JavaFX framework which notation do you use to connect Scene builder Controls to the Java class?

@FXML

@Override

@Connect

@JFXML

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct syntax for creating a button in a JavaFX's project class.

Button btn = new Button();

button btn = new button();

Btn button = new Btn();

btn button = new btn();

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method can you use to disable a button?

getDisable()

Disable()

setDisable()

Stop()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method do you use to style components (containers, controls, etc) in JavaFX's project class.

myStyle()

setStyle()

getStyle()

Style()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Is String a primitive data type?

Yes

No

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which type of method is System.out.print()?

Built-in

User-defined

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which type of method is not a part of Java's core library?

Built-in

User-defined

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?