This content has been marked as final. Show 2 replies
Pretty creative efforts! Unfortunately, array creation isn't done by constructors, it is done by bytecode instructions.
Search for 'array' here: [http://www.javaworld.com/jw-12-1996/jw-12-hood.html] .
I can't think of an easy way to do what you want. Can anyone else?
Thanks a lot Jim!
I guess I just have to do it the hard way then as described in my first post. It works, but is pretty convoluted compared to regular object creation.
Thank u again.