Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Basic {
- public static void main(String[] args) {
- int number[]=new int[5];
- number[0]=1;
- number[1]=1;
- number[2]=1;
- number[3]=1;
- System.out.println("value of first position is "+number[0]);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement