An array is a group of similar-typed variable that are referred by a common name. A specific element in an array is accessed by its index. An array may have one or more dimensions. One Dimensional Arrays: The general form of a one dimensional array declaration is as: type variable-name[]; […]
Type Conversion and Casting
There are two types of conversion in Java as: Implicit conversion Explicit conversion Implicit Conversion: Implicit conversion is also known as automatic conversion. When one type of data is assigned to different type of variable then automatic type conversion will take place if the following conditions are met. both type […]