* Sets don't allow duplicate values. want to add duplicates ,then go with lists * When we use keySe ... Read More
We can print volumes on which our drives are mounted and actual drives using below methods Here ... Read More
The below quantifier is used to replace anything that contains 1 or more h and then 0 or more i and ... Read More
While String is a immutable class in java whose contents can't be changed ,String buffer is a writab ... Read More
Telehpone number validator reg expression is below For a telephone number validator we need a reg ... Read More
Differences between abstract classes and interfaces * Abstract classes can have variables that ar ... Read More
There are two ways to write a program in Java 1.Look before you leap - check all the conditions ... Read More
We have seen that we can create path instances and then we can create FileWriter and FileReader inst ... Read More
Important thing to note regarding any req expressions in java is replaceAll method can replace a par ... Read More
``` String challenge5 = "aaabccccccccdddefffg"; /* Below is used to match one or more occurenc ... Read More