Java: Enumeration types

Publicado el: 17 April 2013
en el canal de: 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...


En esta página del sitio puede ver el video en línea Java: Enumeration types de Duración hora minuto segunda en buena calidad , que subió el usuario Brandon Kearns 17 April 2013, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 1,091 veces y le gustó 6 a los espectadores. Disfruta viendo!