Use of replace,replaceAll,matches, . and ^ are discussed below. ``` String myString = "Its going ... Read More
Visa card validation must start with a 4 then 12 digits between 0-9.this one is for a 13 digit visa ... Read More
* By using methods provided by java.util.collections we can create a shallow copy of another ArrayLi ... Read More
We have seen in out Sets example that if we add two user defined class objects of class Planet to th ... Read More
We can use the .clear method on a List,Map or Set in java to delete all elements from the correspond ... Read More
Buffered reader in java is similar to buffered writer. It writes data to files in large chunks. Exam ... Read More
* Absolute file path looks like this --> C:\downloads\file.txt is an absolute path where C is the r ... Read More
* If we want to search for all files in a given directory named Dir2 folder there is an issue.Dir2 ... Read More
We have seen in an earlier example for matchers that we can find the start or end of a reg expressi ... Read More
* Package names should always be lowercase. If domain name contains a java keyword or contains a - ... Read More