Arrays in java
Arrays are one of the important feature of java. Arrays are used to store some objects that commonly share some properties. Arrays Provides lot of functionalists. for more about arrays see
Arrays are one of the important feature of java. Arrays are used to store some objects that commonly share some properties. Arrays Provides lot of functionalists. for more about arrays see
public final class Test {
void comparaeAll()
{
int arr[] = {10, 20, 30, 40, 50};
for(int i=0; i < arr.length; i++)
{
System.out.print(" " + arr[i]);
}
}
}
No comments:
Post a Comment