David Miller

 28-Oct-2014
 31
 2156
 

Java I/O: The OutputStream Methods

Similar to the InputStream class, the abstract OutputStream class is a superclass of all classes representing an output stream of bytes. A few examples of these subclasses are:

Java 

Java I/O: File Copy Utility

The File Copy program accepts two command-line parameters and copies the contents of the file specified by the first parameter to the filename specified in the second parameter.

Java 

Java I/O: The InputStream Methods

The read method we used in the previous post is in fact defined in the InputStream class. The FileInputStream class that extends from the InputStream class inherits this method.

Java 

Java I/O: The I/O Class Hierarchy

Java provides a rich set of classes for I/O. A high-level class diagram for the I/O class library is shown here:

Java 

Java I/O: Input/Output Streams

One of the important set of classes comprised in Java API is the java.io package. This is one of the core packages of the Java language and was a part of JDK 1.0. These classes facilitate the input/output functionality in our programs.

Arrays in Java: Determining Class of an Array (Part-8)

In previous posts, we have learnt how to find the length of the arrays and how to clone an array. Now here we learn how to find out the class of an array.

Arrays in Java: Cloning an Arrays (Part-7)

To make a copy of an array, we call the clone method on the array object. This is illustrated in this implementation:

Java  API(s)  Array  JDK 

Arrays in Java: Determine Length of Arrays (Part-6)

When we declare an array in Java, it is treated as an object of an internal class that defines useful attributes and methods.

Java  API(s)  Array  SDK 

Arrays in Java: Non-Rectangular Arrays (Part-5)

So far we have seen the declaration and use of rectangular arrays. Java allows us to create non-rectangular arrays.

Arrays in Java: Multidimensional Arrays (Part-4)

Multidimensional arrays, as the name suggests, contain more than one dimension. You can create two-dimensional, three-dimensional, and n-dimensional arrays in Java (where n is any natural number).

Arrays in Java: Array Initializations (Part-2)

In my previous post, we have already learned how to declare an array, allocate the space for its elements, and how to modify and access its elements. Now we learn how to initialize a java array.

Arrays in Java: Part 1

We create arrays when we want to operate on a collection of variables of the same data type or pass them all around together.

Java  API(s)  Array  JDK 

Arrays in Java: The for-each loop (Part-3)

In my previous posts, we have seen how to declare an array, allocate the space for its elements, and how to modify and access its elements.

Arrays in Java: Array Initializations (Part-2)

In my previous post, we have already learned how to declare an array, allocate the space for its elements, and how to modify and access its elements. Now we learn how to initialize a java array.

Java SE 8

In 2014, Oracle Corporation released Java 8 on 18 March, which was another milestone release for the Java ecosystem.

Java SE 7: Codename Dolphin

Java SE 7 was released on 7 July 2011. Java SE 7 is the major release to the Java SE platform, which came a long time after its previous release

J2SE 5.0 and J2SE 6

J2SE 5.0 was released on 30th September 2004. Developed under JSR 176, Tiger added a number of significant language features, including the for-each loop, generics, autoboxing, and var-args.

J2SE 1.4: Codename Merlin

Previously we have seen JDK 1.0 and its features. We also examine the JDK 1.1 release and some its major API’s and classes.

Features of Java: Robust and Secure

The introduction of the JVM in the architecture also helped developers in creating robust and secure Java applications.

Java 

MapReduce Mapper Class:

Mapper class is responsible for providing implementations for mapping jobs in MapReduce.

Managing files with Hadoop File System Commands

HDFS is one of the two main components of the Hadoop framework; the other is the computational paradigm known as MapReduce.

Big Data Revolution in Software Development

Look around at the technology we have today, and it's easy to come to the conclusion that it's all about data. Organizations are flooded with data.

WHY GLOBAL GOVERNANCE OF THE WEB DEVELOPMENT COMPANY MUST BE DEMOCRATISED

The internet may be a major force these days, restructuring our economic, social political & cultural Systems.

TOOLING IN SOFTWARE DEVELOPMENT

Programming instruments are likewise programming as projects or applications that product designers (otherwise called developers, coders, programmers or programming engineers)

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!