Both replace() and replaceAll() replaces all the occurrence found. However, there is difference in the type of arguments they accept.
Tuesday 20 May 2014
Thursday 15 May 2014
What is the size of ” null ” Operator in Java ?
When you write
String st1 = null;
You create a reference “str1″ to an object that still does not exist in the heap, but when you type :
String st1 = null;
You create a reference “str1″ to an object that still does not exist in the heap, but when you type :
Labels:
java