CSC 502 Homework 1/ Quiz 1 Study Guide

Do the following problems / Write the following programs. These do not have to be handed in for grading: they are to prepare you for the quiz.

VBox and HBox

1. Write a JavaFX program that nests horizontal and vertical boxes to achieve the layout of 10 buttons shown in the image below.

2. Write a JavaFX program that nests horizontal and vertical boxes to achieve the layout of 10 buttons shown in the image below. Notice that all buttons are centered within their columns, and the ``huddle" of all buttons looks top centered on the stage.

3. Write a JavaFX program that nests horizontal and vertical boxes to achieve the layout of 10 buttons shown in the image below. Notice that all buttons are centered within their columns, and the ``huddle" of all buttons looks centered on the stage.

4. Write a JavaFX program that nests horizontal and vertical boxes to achieve the layout of 10 buttons shown in the image below. Notice that all buttons are centered within their columns, and the ``huddle" of all buttons looks centered on the stage.

FlowPane

FlowPane is a subclass of Pane. You can read about FlowPane at the FlowPane documentation site online. Write some programs that put buttons in a FlowPane to get an idea of how it works.

Concepts for the Quiz

You need to be able to define all the important terms and concepts of object-oriented programming. These include class, object, method overriding, method overloading, interface, abstract method, and abstract class. You need to understand the relation between subclasses and superclasses, and the type compatibility relation between subclasses and superclasses.