ExecuteProgram
Home
Java
Selenium Webdriver
One Dimension Array
Tweet
Pin It
public class onedimensionalexp1 {
public static void main(String[] args) {
int arr[]={10,20,30,40,50};
for(int i=0;i<5;i++)
{
System.out.println(arr[i]);
}
}
}
Output:
10
20
30
40
50
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment