Hello everyone,
i came a cross a mock exam with question like
this :
String a, b;
a = new String("xpto" );
Integer c,d;
c = new Integer ( 10 );
How many object's, references ?
the objects part it's easy, we've got 2.
but regarding references, i hava some dough'ts.
only a and c reference Objects. b,d don't.
my question would be, there are two references, am i right ?
best regards
Lu�s Meira