Welcome to my blog, hope you enjoy reading

Tuesday, 20 May 2014

replace() vs replaceAll()

Both replace() and replaceAll() replaces all the occurrence found. However, there is difference in the type of arguments they accept.


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 :