bookmate game
Joshua Bloch

Effective Java, Third Edition

Notify me when the book’s added
To read this book, upload an EPUB or FB2 file to Bookmate. How do I upload a book?
This book is currently unavailable
1,022 printed pages
Have you already read it? How did you like it?
👍👎

Impressions

  • b1568897977shared an impression4 years ago
    👍Worth reading

Quotes

  • diormuhas quoted20 days ago
    To recap, there are four different kinds of nested classes, and each has its place. If a nested class needs to be visible outside of a single method or is too long to fit comfortably inside a method, use a member class. If each instance of a member class needs a reference to its enclosing instance, make it nonstatic; otherwise, make it static. Assuming the class belongs inside a method, if you need to create instances from only one location and there is a preexisting type that characterizes the class, make it an anonymous class; otherwise, make it a local class.
  • diormuhas quoted24 days ago
    In summary, interfaces should be used only to define types. They should not be used merely to export constants.
  • diormuhas quoted5 months ago
    Default methods are, however, extremely useful for providing standard method implementations when an interface is created, to ease the task of implementing the interface (Item 20).

On the bookshelves

fb2epub
Drag & drop your files (not more than 5 at once)