Java Reference
In-Depth Information
When we want to initialize our variable to a new value, we can simply hit Ctrl+space
again and a list of valid types is shown as options for code completions.
In our example, our type ( java.util.List ) is an interface, therefore all classes
implementing this interface are shown as possible candidates for code completion.
Had our type been a class, both our class and all of its subclasses would have been
shown as code completion candidates.
 
Search WWH ::




Custom Search