Java: Enumeration types

Veröffentlicht am: 17 April 2013
auf dem Kanal: Brandon Kearns
1,091
6

Tutorial explains the creation of Enumeration types to ensure Type-Safe initialization of values. Also covers the use of a Scanner to scan through text in an external text file in the file-system. Differentiates the forward and backslash formats for locating a File in Windows versus Linux.

Finally, I show an example from the Oracle Java tutorial website for enumeration (more advanced). This servers as a stepping stone to begin our creation and use of our own Class files that we will begin creating in the next tutorials. In order to run this example we have to specify arguments (String[] args) - so I show how to specify those arguments both inside of Eclipse as well as running from the command-line.

Link to Oracle Program Code:
http://docs.oracle.com/javase/tutoria...


Auf dieser Seite können Sie das Online-Video Java: Enumeration types mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Brandon Kearns 17 April 2013 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 1,091 Mal angesehen und es wurde von 6 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!