Object [] obj = {"String",10};
807599Nov 18 2006 — edited Nov 18 2006Sorry i am new to java will trying to understand the below code for reflection i came across a line.
code]
Object [] obj = {"String",10};
i am unable to understand as this is array of Object type
however 10 is int a premative type how can a referance type
array excepts int (a primative type value).The code is perfect and its getting complied.
[