Quote:
How NIO in java works and for what purpose it is implemented? And the role of channel and buffer in NIO?
By asking such wide questions, you are putting yourself at shame in public and claim you are too lazy to even find basic answers.
To avoid this, programmers have a secret trick, they use a search engine.
Google is your friend,
Google only find 2,800,000 answers.
link on first page of Google
Non-blocking I/O (Java) - Wikipedia, the free encyclopedia[
^]
I am not rude to you, YOU are rude to yourself !
Nobody knowing that you ask such questions will ever take you seriously. Your question claim that your main effort to find the answers is this question itself. If you want a teacher, hire one.