Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- String[] strs = new String[10];
- for(int i=0;i<strs.length;i++){
- System.out.println("String length is: " + strs[i].length());
- }
- Cell[][] board = new Cell[5][10];
- for(int r=0;r<board.length;r++){
- for(int c=0;c<board[r].length;c++){
- board[c][r] = new Cell();
- }
- }
- int[] intArray;
- intArray = {10,9.8};
- int[] intArray;
- intArray = new int[15];
- int total = 0;
- for(int i=intArray.length;i>=0;i--){
- total += intArray[i];
- }
Add Comment
Please, Sign In to add comment