How do I initialize this 2D array with null in Java? -


i have made 2-d array store references objects of children classes of parent class student.

student[][] = new student [5][4];  

now want initialize array null? how do it? trick doing @ once? also, wanted know if possible store references of children class in array of base class in java?

i want initialize values null. also, let's values filled , want overwrite values null. how do that?

by default java initialises reference objects null.


Comments

Popular posts from this blog

c# - Class in a list -

ios - RestKit 0.20 — CoreData: error: Failed to call designated initializer on NSManagedObject class (again) -

Jdbc Odbc Driver error -