Computer Applications

Differentiate between the following:

int a[10] and char a[10]

Java Arrays

14 Likes

Answer

int a[10] is an array of int data type that can hold 10 integer values whereas char a[10] is an array of char data type that can hold 10 characters.

Answered By

7 Likes


Related Questions