Neova Solutions interview question

1)what is difference between string st="abc"; and new String("abc");

Interview Answer

Anonymous

28 Aug 2017

both are creating objects of string. but coz of fst one value of string get stored in string literal pool.