ZOFTINO.COM android and web dev tutorials

Java Random Access Files

Java IO and NIO APIs allow you to randomly access files to read content from and write content to files anywhere in the files.

Java File Input Output Using NIO2 API

To access files, file attributes and file system, Java provides classes and interfaces (new IO API called NIO2) which exist in the java.nio.file and java.nio.file.attribute packages.

Java NIO Tutorial

Java new input output library allows you to perform input and output operations efficiently. Unlike Java I/O classes which read and write data byte by byte using stream objects, Java NIO reads and writes data in blocks using channels which use operating system features.

Java Scanner Tutorial

Scanner class breaks its input into tokens using the default or the specified delimiter and the tokens can be accessed using various next methods to get different types of values.

Java Input Output Character Streams

Java I/O stream API allows you to read and write different types of data from and to different types of sources and destinations.

Java Input Output Byte Streams

Java input and output stream API provides classes to read data from any source and to write data to any destination. Data can be bytes, primitive types, localized characters and objects.

Java Exceptions

In any program, there can be lines of code which may not be executed in certain situations. If run time environment faces this situation it will terminate the program.

Java Generics

Generics allows you to create classes or methods in a generic way so that the same code can be used with related types.

Java Strings

In Java, primitive data type char stores one character. To store text which contains more than one character, Java provides String class.

Java Primitive Wrapper Classes

Java provides wrapper classes which represent primitive data types. Primitive data type wrapper classes allow primitive data types to be used with collections.

Inheritance in Java

In Java, a class can be created by using another related class so that the fields and methods of the other class can be available in the new class without repeating the field and method declarations.

Java Interfaces

Java interfaces allow you to decouple class implementation from its interface which the calling programs use to communicate with them, so that various implementations can be created and used without worrying about the calling programs.