Int a[10]; c-language
int a[10]; c++-language
int[] a = new int[10]; java-language
yeah it's right but if u have to declare array with values then it should be like this
int a[10]={1,2,3,4,5,6,7,8,9,10};
Before that you have to know what is arry,array is a concept of computer language.u can store the lot of values but that should be same data type.for example you want to store 
the values like 1,2,3,4, u have to create integer array int a[10]
a->its the name of the array
[10]->range of the array.u can store 10 values on this array
  if u want store string values u have to create string array .like string a[10]

these array declarion based on computer langage but almost same