JAVA FX
Random JAVA
Java FX ,sorts,arrays
Classes
Random/Christmas
100

Create a button that says OK

Button newButton = new Button("OK");

100

changing a variable from one type to another.   

What is an Casting?

100

WHICH CLASS CAN BE USED TO CREATE A SINGLE-LINE OF TEXT INPUT?

What is an textfield?

100
The method that creates an instance of the class.
What is the Constructor?
100

If you are naughty, Krampus will do this to you.

What is hitting you with sticks?

200

WHICH TYPE OF PANE ALLOWS YOU TO ADD ITEMS LEFT-TO-RIGHT AND AUTOMATICALLY CREATES NEW ROWS WHEN NEEDED? 

FLOWPANE

200

A class that converts primitive data into Objects.

What is a Wrapper Class

200

WRITE CODE TO ADD A BUTTON CALLED 'MYBUTTON' TO A FLOWPANE OBJECT CALLED 'PANE' (THE VARIABLES ALREADY EXIST)

PANE.GETCHILDREN().ADD(MYBUTTON);

200
The class that all objects/classes are derived/inherited from.
What is the object class?
200
  1. What does the word "Hanukkah" mean?


"Hanukkah" means "dedication"

300

PUT A LABEL CALLED 'MYLABEL' INTO THE LEFT SECTION OF A BORDERPANE CALLED 'PANE' (THE VARIABLES ALREADY EXIST) 

PANE.SETLEFT(MYLABEL);

300
A Java term that is used to indicate that a reference does not currently refere to any object.
What is a Null Reference?
300
A sorting algorithm in which each value is placed in its final sorted position.
What is Selection Sort?
300
The ability to derive a new class from an existing one.
What is Inheritance?
300

 the candle holder for Hanukkah called?

Menorah

400

WHICH METHOD (ASIDE FROM MAIN) MUST YOU INCLUDE TO RUN A JAVAFX APPLICATION?

START 

400

This type of exception handling can be used with reading and writing files

What is an Throw and catch?

400
A sorting algorithm in which each value is inserted in a sorted subset of the entire list.
What is Insertion Sort?
400

This will occur if you do not include a constructor.  

What is the "default constructor" will be called
400

In the story The Gift of Magi, what does the wife sell in order to purchase a gift for her husband?

what is her hair

500

CREATE A NEW SCENE CALLED 'SCENE' THAT CONTAINS A BORDERPANE AND IS 400 BY 400 PIXELS. ADD IT TO A STAGE CALLED 'PRIMARYSTAGE'. SHOW THE STAGE.

SCENE SCENE = NEW SCENE(NEW BORDERPANE(), 400, 400); PRIMARYSTAGE.SETSCENE(SCENE); PRIMARYSTAGE.SHOW();

500

A reference to an object that is currently also referred to by another reference. Each reference is a/an _______ of another.

What is an Alias?

500
An array that uses two indices to specify the location of an element.
What is a Two-Dimensional Array
500
The class that cannot be instantiated and cannot be used unless another class derived from it is created?
What is the abstract class?
500

What made Frosty the Snowman come to life?

What is his hat

M
e
n
u