ZOFTINO.COM android and web dev tutorials

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.

Java Annotations

Annotations are part of program elements and provide information about the program without changing any behavior or data of the program.

Java Enums

Java enum allow you to define a data type which contains a fixed set of constant values. The variable of enum data type can be assigned only one of the valued defined in the enum declaration.

Java Lambda Expressions

Lambda expressions allow you to create functions and pass them as arguments to methods. Lambda expressions are introduced in Java 8.

Java Nested Classes Tutorial

Like fields and methods, you can define a class inside a class. The classes which are declared inside a class are called nested classes.

Java classes and Objects

Java is an object oriented programming language. When you create an application in java, you create classes. Classes contain fields (data) and methods (behavior).