Hello friends , I am back to you all experts to get some more things clarified. Well cud anyone tell me the list of differences between java.io package and the java.nio packages ?? One thing which is very much clear to me is that java.nio is more faster that java.io ?? but i wanna know more of it .. i hope you guys would turn up soon with positive response. Thanks, Saurabh
Success is not doing extraordinary things but doing ordinary things extraordinarily well.
And check out these examples and documentation. The classes in java.io have been rewritten to use the java.nio classes as their underlying implementation so the performance difference should be slight between the two. The advantage nio has over io is in the new functionality it offers, like non-blocking IO, file locking, memory mapped IO, character-set encoding and so on.