News

Classes, fields, methods, constructors, and objects are the building blocks of object-based Java applications. This Java tutorial teaches you how to declare classes, describe attributes via fields ...
The Java serialization tutorial In this Java serialization example, we will use both the ObjectOutputStream and the ObjectInputStream to save and retrieve the state of a simple JavaBean. The POJO will ...
In this tutorial you’ll learn how to work with static member classes and the three types of inner classes in your Java programs. What you’ll learn in this Java tutorial About static classes in ...
How to use the Java Scanner for user input The Java Scanner class is a simple, versatile, easy-to-use class that makes user input in Java relatively straightforward. To perform user input with the ...