Exception hierarchy

We know that, In java, Exception can be either checked or unchecked and same has been shown in the below exception hierarchy Parent class of all exceptions in java is “Throwable” class. Any instance of Throwable class can be caught using catch block except Error. We can’t handle errors in Java through program. Exception hierarchy […]

Share this article on

String vs StringBuffer vs StringBuilder

We know that, String is one of the most frequently used class in Java programming. Many java programmers are not aware of the fact that String is immutable in java which means every modification to a string creates a new String. Modification could be concatenation of string with other string or converting string to lower […]

Share this article on
< Previous