The Java Tutorials – Interfaces

The Java Tutorials – Interfaces

Onwards into the Interfaces and Inheritance tutorial, starting with Interfaces. This is a short one, starting with an overview and moving onto the more interesting topic of how to evolve or update interfaces.

Continue reading “The Java Tutorials – Interfaces”

Advertisements

The Java Tutorials – Annotations

The Java Tutorials – Annotations

The Learning the Java Language trail moves onto Annotations. Annotations are a form of metadata that can provide data about the program and there is more to them than you might think…

Continue reading “The Java Tutorials – Annotations”

The Ideal Job For The Ideal Employee

The Ideal Job For The Ideal Employee

I had a meeting with someone I met on a course who is in a similar position and we discussed the kind of employee roles we should/could be looking at. It helped clarify some of my own thinking. This post is an attempt to bring together a couple of threads. Firstly I should state some basic values and needs distilled from an earlier post. Then I’m going to drill into my experience and background, and consider what I am good at and enjoy. Then I am going to state my current career goals for employed work.

Continue reading “The Ideal Job For The Ideal Employee”

The Java Tutorials – Enums

The Java Tutorials – Enums

Just as you were thinking you were finally at the end of the Classes And Objects tutorial, along comes Enums!

  • Use enum types to represent a fixed set of constants.
  • The enum declaration defines a class which implicitly extends java.lang.Enum
  • The class includes a static values method that returns an array of all values.

Continue reading “The Java Tutorials – Enums”

The Java Tutorials – Method References

The Java Tutorials – Method References

Method References are part of Lambda Expressions in The Java Tutorials but that’s a pretty big topic so I’m splitting it out here. It’s also a little hard to follow the examples if you are not familiar with Generics.

When a lambda expression does nothing but call an existing method, it’s often clearer to refer to the existing method by name. We can do this with a Method Reference.

Continue reading “The Java Tutorials – Method References”

The Java Tutorials – Lambda Expressions

The Java Tutorials – Lambda Expressions

The next section deals with Lambda Expressions with are new to Java 8 and fairly mind-bending. A Lambda Expression is a more succinct version of an Anonymous Class.

Continue reading “The Java Tutorials – Lambda Expressions”