4 ms·
As the programmer, you wouldn't call getMap if you didn't know the return type As the reader, this situation would be analogous to looking up the what map is,
by samirahmed 15y ago
As the programmer, you wouldn't call getMap if you didn't know the return type
As the reader, this situation would be analogous to looking up the what map is, assuming it was declared earlier ... is a datamember etc.
something that might as well arise when typing..
private HashMap<Integer, String> map ;
then 30 lines later
this.map = getMap();
You would have to check javadocs or function header some time