The below quantifier is used to replace anything that contains 1 or more h and then 0 or more i and ... Read More
Marker Interfaces- A marker interface is one which has absolutely nothing in them.They have no meth ... Read More
* Sets don't allow duplicate values. want to add duplicates ,then go with lists * When we use keySe ... Read More
If we have two classes Dog(parent) and Labrador(child) as below ``` public class Dog { ... Read More
* java.nio package came available in java 1.4 to read and write data to a file * If we compare jav ... Read More
Here we will learn how to write data in binary format. In the earlier post we learned how to write ... Read More
``` String challenge5 = "aaabccccccccdddefffg"; /* Below is used to match one or more occurenc ... Read More
When a child class extends a parent class it is called inheritance. A child class can access class ... Read More
We can create a class within a class and the inner class can have its own methods and variables. ... Read More
We ca define a enum in any of our classes like this ``` public enum BodyTypes{ STA ... Read More