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 
 720 View(s)

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 
 860 View(s)

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 
 995 View(s)

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 
 941 View(s)

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....

 796 View(s)

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....

 926 View(s)

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 
 928 View(s)

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 
 1094 View(s)

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

 4393 View(s)

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)....

 1013 View(s)

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....

 1360 View(s)

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 
 990 View(s)

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....

 878 View(s)

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....

 973 View(s)

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

 1000 View(s)

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...

 1016 View(s)

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....

 956 View(s)

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....

 860 View(s)

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

Java 
 1156 View(s)

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

 1304 View(s)

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

 1608 View(s)

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....

 957 View(s)

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

 1063 View(s)

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

 1540 View(s)