The objective of this bonus activity is to help you to understand Java Interfaces and JavaFX concepts.
Interfaces
are used to enforce some sense of expected behaviour. Classes that implement a specific Interface
need to implement the Interface
's methods. For example, if we had a Drawer
interface with a method draw
, we can expect any class that implements this method to implement that draw method. This gives us an idea about what behaviour classes that implement the Drawer interface are capable of doing (capable of drawing something).
In this exercise, you will develop your own work of art using JavaFX's GraphicContext
class. Have a look at the documentation. You will need to write a 2 classes that implement the Drawer
interface, run your classes using the driver below and answer the questions.
Vundle is a Vim plugin manager. It will help you keep track of the plugins you install with the ability of updating them as you go about adding more tools to vim that'll help you be more productive.
https://github.com/VundleVim/Vundle.vim
- Go through the steps in the
README.MD
on the Vundle repo.
Hard copy is due at the beginning of class on Monday 2015-09-28
If a question asks you to create a class, do not include any constructors unless explicitly asked to. If a question gives you a code snippet and asks you to determine its output or identify if lines of the code snippet compile or not, then please rewrite the code snippet and mark your answer(s) to the right of code in the form of comments.