Updates

Latest Tweet



What's New?

Check out for latest innovation, a computer based training video collection


Like this Page

Effective Java


Add Book to List

Please select a book list

Add


Previews

Readr

Share this Great Computer eBook

Link to this page

Our Collection

PrevNext


Written for Java developers to work, Joshua Bloch's Effective Java Programming Language Guide provides a truly useful set of more than 50 best practices and tips for writing better Java code. With lots of advice from an indisputable expert in the field, this title would become an indispensable resource for anyone who wants to get more of their code. As a veteran developer at Sun, enough writer shares insights into the design choices made over the years in the library alone Sun Java (which the authors admit is not always perfect). Based on his experience working with Sun's best minds, the author provides a compilation of 57 tips for better Java code organized by category. Each tip clearly introduced and explained with code snippets used to demonstrate each programming principle. early part of creating and destroying objects show you ways to make better use of resources, including how to avoid duplicate objects. This material will help you write a new class that works with the old (with advice on implementing essential requirements like the equals () and hashCode () method). The author has much to say about class design, whether using inheritance or composition Dragan. - Richard Topics covered: Best practices and tips for Java Creating and destroying objects (static factory methods, singletons, avoiding duplicate objects and finalizers) Required method for custom classes (overriding equals (), hashCode (), toString (), clone ( ), and compareTo () is true) Instructions for the class and interface design (minimizing class and member accessibility, eternity, composition versus inheritance, interfaces versus abstract classes, preventing, not static versus static class subclassing) C construction in Java (structures, unions, enumerated types, and function pointers in Java) Tips for designing methods (parameter validation, defensive copies, method signatures, method overloading, zero-length arrays, hints for Javadoc comments) General programming advice (local variable scope, using Java API libraries, avoiding float and double for exact comparisons, when to avoid strings, string concatenation, interfaces and reflection, avoid native methods, optimizing guidelines, naming conventions) Programming with exceptions (checked versus run-time exceptions, standard exceptions, documenting exceptions, failure information capture, failure atomicity) Threading and multitasking (synchronization and scheduling instructions, thread safety, avoiding thread groups) Serialization (when to implement Serializable, the readObject (), and readResolve () method)

Computer eBook Details

Computer Ebook Author

IT Book Categories

Buy this Book

Borrow or Download eBook

Grab