CJCoding With Joseph
15free / daySign inCreate account
Back to Multiple Choice Quiz

Select topics to narrow your question pool, then enable Random to jump to a random question matching your filters.

Topics

Inline CSS Styling

Java quiz · Question 46
easyJavaFX

What does this line of code do?

Code

1Button btn = new Button("Save");
2btn.setStyle("-fx-background-color: #4CAF50; -fx-text-fill: white;");