Skip to content

Code and book content inconsistency in generics/GenericHolder.java #46

@jienius

Description

@jienius

On page 841 of the book, it says

You’ll note that the definition of h3 is rather wordy and redundant. On the left side
of the equals sign, you say GenericHolder<Automobile>, then you say the same
thing again on the right side of the equals sign.

However, Automobile is missing in generics/GenericHolder.java

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions