Java Programming - Interface

Array is a collection of similar type of elements that have a contiguous memory location.

Java array is an object which contains elements of a similar data type. It is a data structure where we store similar elements. We can store only a fixed set of elements in a Java array.

Java Basic Programming: Interface

Transport interface in java

The transporty interface declares a deliver() method. The abstract class Animal is super class of Tiger,Camel,Deer and Donkey classes.The transport interface is implemented by the

Read More »