Description
Course info
Rating
(1268)
Level
Intermediate
Updated
Nov 23, 2011
Duration
3h 47m
Description

This course picks up where we left off in Java Fundamentals Part 1. We learn a few more advanced languaged features in Java such as exception handling and annotations. We also look a some of the commonly used Java Class Libraries used to implement collections, threading and I/O in Java.

About the author
About the author

John Sonmez is the founder of Simple Programmer (http://simpleprogrammer.com), where he tirelessly pursues his vision of transforming complex issues into simple solutions

More from the author
Beginning Lua
Intermediate
2h 50m
2 Dec 2013
Beginning HTML 5 Game Development With Quintus
Intermediate
2h 52m
25 Oct 2013
Beginning HTML5 Apps For Firefox OS
Intermediate
2h 20m
17 Oct 2013
More courses by John Sonmez
Section Introduction Transcripts
Section Introduction Transcripts

Enumerations
Hi, this is John Sonmez from Pluralsight. And in this module, we're going to be talking about enumerations in Java or the enum type. So, this module is going to be a little bit shorter. We're just going to cover the topic of enumerations and it might not seem like there's a lot there, but really, Java enumerations are kind of special, so I really want to make sure that we cover this because a lot of people aren't aware of just how neat Java enumerations are. And, this is one of those things that I think really can improve your code, especially if you're starting out in Java, to get used to using enumerations. So, the first thing that we're going to cover here is what is an enumeration? We're just going to basically talk about the concept, the higher level concept, of an enumeration, why you would use one, and what the advantages of using them are and, perhaps, when you might choose to use an enumeration. Then, we're going to go through and we're going to look at some simple examples of using enumerations in our Java code. We'll go ahead and declare an enumeration type and use that and see how we can use an enumeration to really make our code more readable and understandable. Then, we're going to talk a little bit about the special property of enumerations in Java, which is that they are classes. I'm going to talk about what this means to you as a Java developer when you're using an enumeration and kind of the possibilities that this opens up to you as a programmer. Then, we are going to look at a more complex enumeration example. We're not going to get into a very complex example, but it's definitely going to be more than the simple example. So, I'm going to show you how to actually use an enumeration as a class and to take advantage of some of the more advanced features of enumerations in Java.