Back
Since there are lots of methods provided by the Java nio package using Path class , the same methods are already provided by File as well. Can anyone tell me what’s the use of nio package?
One basic difference between IO and NIO is IO blocks, while NIO doesn’t block. Check out this article here for NIO vs IO.
Interested in Java? Check out this Java Certification by Intellipaat.
30.9k questions
32.9k answers
500 comments
665 users