Search:

Type: Posts; User: GregBrannon

Search: Search took 0.11 seconds.

  1. [SOLVED] Re: Cannot infer type arguments for ArrayList

    This is correct:
    List<String> byName;
    byName = new ArrayList<>();
    What you have is not.
  2. [SOLVED] Re: Cannot infer type arguments for ArrayList

    Welcome to the forum! Thanks for taking the time to learn how to post code correctly. If you haven't already, please read this topic to learn other useful info for new members.

    Part of the...
Results 1 to 2 of 2