Category Archives: Java Class in Java class creates a character buffer using a character array. Declaration: public class CharArrayReader extends Reader Constructor : CharArrayReader(char[] char_array) : Creates a CharArrayReader from… Read More »

NaN (Not a Number) in Java

Can You guess the output of following code fragment: Yes, You guessed it right: ArithmeticException Output: Exception in thread “main” java.lang.ArithmeticException: / by zero at… Read More »