tag

home / developersection / tag

Inheritance in Java: Calling the super Constructor
java 16-May-2016
Inheritance in Java: Calling the super Constructor

To understand how the super keyword is used for calling the superclass constructors, let’s add the constructors to our class hierarchy here

Inheritance in Java: Writing a Multi-level Inheritance Program
java 16-May-2016
Inheritance in Java: Writing a Multi-level Inheritance Program

The application discussed in the previous post is based on the asset management classes we have studied so far. We will now look at the concepts of multilevel inheritance with the help of program code.

Inheritance in Java: Single-level and Multi-level Inheritance
java 16-May-2016
Inheritance in Java: Single-level and Multi-level Inheritance

When a class inherits from a single class, as in the case of BankAccount inheriting from Asset, it is called single-level inheritance or simply single inheritance.

Arrays in Java: Determining Class of an Array (Part-8)
java 13-May-2016
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: Non-Rectangular Arrays (Part-5)
java 13-May-2016
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)
java 13-May-2016
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)
java 13-May-2016
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: The for-each loop (Part-3)
java 12-May-2016
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)
java 12-May-2016
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
java 12-May-2016
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 12-May-2016
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
java 12-May-2016
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.