6: Reusing classes

Bruce Eckel’s Thinking in Java Contents | Prev | Next

That’s
the approach used in procedural languages like C, and it hasn’t worked
very well. Like everything in Java, the solution revolves around the class. You
reuse code by creating new classes, but instead of creating them from scratch,
you use existing classes that someone has already built and debugged.

More by Author

Must Read