2nd statement:
s = s + �sasi�;
here, jvm will create "sasi" object and it is concated to the string which is in s. but strings are immutable. so the result of "Srisai" is created within new object and then its reference is assigned to s. so here 2 objects ("sasi" and "Srisasi") are created. upto here 3 string objects are created.
when we can say something like
List<? extends Number> myList1 = new ArrayList<Number>();
does it mean 'a class is subclass to itself'?
when we can say something like
List<? super Number> myList2 = new ArrayList<Number>();
does it mean 'a class is superclass to itself'?