Category: JAVA Basics
Boolean Class in JAVA with Example
Boolean Class is a wrapper class that wraps the primitive type boolean. This class provides mechanism to convert primitive type “boolean” to object type “Boolean” or vice versa.…
Difference Between String And StringBuffer in JAVA With Example
Difference between String Class and String buffer class String class is Immutable whereas String Buffer class is Mutable. String class consumes more memory whenever we append too many…
String Tokenizer in JAVA with example
String Tokenizer class is for breaking a string into tokens. This class is basically a legacy class although it is used only because of its compatible reasons, but…
Static Keyword In Java With Examples
Static keyword in java is mainly used to save memory as with the help of static we can declare data one time and access it in a whole…
Exception Handling In Method Overriding
Exceptions are the customary way in java to a calling method that an abnormal condition has occurred. When a method encounters an abnormal condition that it can’t handle…
Super Keyword In Java With Examples
In java the keyword super refers to the superclass of the class in which super appears. A subclass inherits the accessible variables and methods from its superclass, but…
Final Keyword In Java With Examples
In java final is a keyword or reserved word and can be applied to variables, methods, classes etc. The reason behind final keyword is to make entity non…