Originally posted by anshi kohli:
found this problem at two diferent places and with different problem.kindly suggest which explanation is correct:
Test1 t1=new Test1;
Test1 t2=new Test1;
according to me this should complile and give no runtime error as well as give o/p as null.
The left most dimention of t2 is required acc to that it shud have compiled.
but as we hav t2=new Test1 line, so does that means any element of t2 is accessed ,accessing other element swill giv an error.???