I got a declaration like this.
Object obj=constructor .newInstance(ne w Object[] {"abc"});
//constructor is a object of Constructor class(using reflection)
i am not clear with the declarartion like this.can some1 explain what is in the brace{"abc"}, as well as the complete declaration in detail.
thanx in advance.
Object obj=constructor .newInstance(ne w Object[] {"abc"});
//constructor is a object of Constructor class(using reflection)
i am not clear with the declarartion like this.can some1 explain what is in the brace{"abc"}, as well as the complete declaration in detail.
thanx in advance.
Comment