1) When does an overloaded constructor gets invoked, without explicit call to it from default constructor.
2)List list = new ArrayList(); Iterator<String> it = list.iterator() From where does iterator() method comes? ArrayList() doesn�t implement this method, list has it but how its possible to invoke it, as interface doesn�t provide its implementation, how can we invoke this method?
3) Mock exam drag n drop question: String str = �April 15, 2005�; Date date = DateFormat.__________(_________, Locale.US).____________(str) Code Fragments: DateFormat.FULL , getDateInstance, parse, getDate, format ,getDateFormat, DateFormat.LONG, DateFormat.SHORT
if i put parse option in last slot it gives parseException. wats the correct way?