String is a non mutable class i.e once we create an object of String class like we created in the e ... Read More
Code to create files ,directories and to create multiple files is below ``` try { ... Read More
* By using methods provided by java.util.collections we can create a shallow copy of another ArrayLi ... Read More
* Here we will be using read and write files using java.nio package which came available in java 1.4 ... Read More
In a real world examples we will use File separators instead of providing backslashes like we used i ... 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 can go to intellij and create a new java project. Choose a location where we want to save our pro ... Read More
And differences between abstract classes and interfaces are - * A child class can only extend one c ... Read More
* One thing to note regarding Path class is ,it never knows if a path actually exists or not. * So ... Read More