Home > Back-end >  Java generics
Java generics

Time:03-26

Why the front have a Boolean, Boolean is not a type, adding a generic don't specify another type?

CodePudding user response:

is generic, Boolean return type, and is not a thing, just position in front of the return type, fixed writing

CodePudding user response:

You will understand & lt; T> T
  • Related