Search:

Type: Posts; User: joshhw

Search: Search took 0.19 seconds.

  1. Replies
    2
    Views
    1,243

    Re: Creating an object through a class parameters

    thanks, turns out he just didn't want me to create the new object in the private fields, but just create:

    private ArrayList <Author> authors;
    which (*I'm told) will be filled with data passed...
  2. Replies
    2
    Views
    1,243

    Creating an object through a class parameters

    I'm trying to figure out how to create a class through a constructor's parameters here is my code:


    public class Article {
    private String title;
    private String body;
    private ArrayList...
Results 1 to 2 of 2