Among the dumber received ideas, is that the computer, or the Internet, or the Compact Disc Read-Only Memory (CD-ROM) would do away with the book.
Codex
What people nowadays call, casually, a "book" is but one kind of book—printed leaves of paper, sewn or glued together on one edge. The precise name for this portable, printed, bound book is "codex".
Besides the codex, there are many other kinds of book, such as the scroll. The CD ROM is just another form of book.
Distribution
In fact, I think that, perhaps what is meant by "book", in talking about the demise of the book, is not the codex, but actually the system of distribution and the publishing industry which supports it.
Computer technology, if anything, has saved the codex. It has never been easier, or cheaper, to make and publish a codex, thanks to the computerization of editing, printing, and distribution.
This is the Golden Age of the Book!