"Random Quote Of The Day" program
Am I missing some things from the problem requirements?


I would say that you are:


  Create a class diagram and Java code for the following system and scenario, taking into account the possibility of future extensions.


You don't really have classes (and thus also didn't really take into account future extensions).

I would think that the expectation is something like this:

Create classes Quote, Person (for the attribution, maybe also an Attribution class), a class containing a collection of Quotes, from which you can retrieve items via index, an Output class with methods for print quote and print attribution.

That way, it would be easy to add a GUI for output, to add additional attribution information, add a date for the quote, etc.

Misc

There isn't really much to your code to review, but a couple of points:


you should not have all your code in the main method. The main method should only start your program, not perform any actions itself.
package names should be all lowercase
extract magic numbers to fields (but if you actually change your code as I suggested above, you would not need it at all)