Advertisement
Guest User

Untitled

a guest
Dec 3rd, 2016
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. public static void main(String[] args) {
  2.  
  3. char[][] tab = new char[(int)(Math.random()*10)][(char) ( (int) ( (Math.random()* 26 ) + 'a') )];
  4.  
  5. for(int i = 0; i < tab.length; i++)
  6. {
  7. for(int j = 0; j < tab.length; i++)
  8. {
  9. // tab[i][j] = (char) ( (int) ( (Math.random()* 26 ) + 'a') );
  10. System.out.println(tab[i][j]);
  11. }
  12. }
  13.  
  14.  
  15. }
  16.  
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement