Originally posted by arivu mathi: String s = new String("abc"); String s = "abc"; will the above two statements create a new string object? what is the difference between the two statements?
The Best way to predict your future is to create it - Every great individual common man
Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch Getting someone to think and try something out is much more useful than just telling them the answer.