This post originated from an RSS feed registered with Java Buzz
by justin cater.
Original Post: How to design Classes and Interfaces
Feed Title: Java Code Geeks
Feed URL: http://feeds.feedburner.com/JavaCodeGeeks
Feed Description: Java 2 Java Developers Resource Center
In this lesson we will delve into the foundational building blocks which the Java language provides and introduce a couple of design principles, aiming to help you to make better design decisions.
We are going to discuss interfaces and interfaces with default methods (new feature of Java 8), abstract and final classes, immutable classes, inheritance, composition and revisit a bit the visibility (or accessibility) rules we have briefly touched.