Creating an array from inside a class method for object to use
49
What is a NullPointerException, and how do I fix it?
28147
java: (String[])List.toArray() gives ClassCastException
1372
How to create a generic array in Java?
97642
Initializing an array in Java using the 'advanced' for each loop
116187
How to efficiently create a list of objects inside of a generic method?
29049
How can I create an instance of an arbitrary Array type at runtime?
42612
Generics, arrays, and the ClassCastException
1777
Changing array in method changes array outside
12855
How to initialize an array of objects of a parameterized constructor
90932
Initializing a member array in constructor initializer
38838
Polymorphism & Pointers to arrays
101449
Using methods from another class in the main?
32684
Create ArrayList from array
84678
Creating object with dynamic keys
116636
How to get the Array Class for a given Class in Java?
628
How to create a new object instance from a Type
153761
How do I get the value from object(stdClass)?