Posts

Showing posts with the label c

Let Us C download free by Yashavant P. Kanetkar (CSE)

Image
What is C Getting Started with C The C Character Set  Constants, Variables and Keywords Types of C Constants  Types of C Variables C Keywords  The First C Program The First C Program  Receiving Input Control Instructions in C  The Decision Control Structure The if Statement The if-else Statement  Nested if-elses Forms of if  Use of Logical Operators  The else if Clause The Loop Control Structure  Loops  The while Loop The for Loop The Odd Loop  The break Statement  and more............ 

Input / Output in java Chapter 13

Chapter 13 Input/Output Input/output (I/O) is one of the most common operations performed by computer programs. Examples of I/O operations include images creating and deleting files images reading from and writing to a file or network socket images serializing (or saving) objects to persistent storage and retrieving the saved objects Java support for I/O has been available since JDK 1.0 in the form of the I/O API in the java.io package. JDK 1.4 added the New I/O (NIO) APIs that offer performance improvement in buffer management, scalable network and file I/O. Java NIO APIs are part of the java.nio package and its subpackages. JDK 7 introduces yet a new set of packages called NIO.2 to complement the existing technologies. There is no java.nio2 package. Instead, new types can be found in the java.nio.file package and its subpackages. One of the new features NIO.2 introduces is the Path interface designed to displace the java.io.File class, now considered inferior. The ol