Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Java by (9.5k points)

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?

1 Answer

0 votes
by (19.7k points)

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.    

Browse Categories

...