Advertisement
Guest User

Untitled

a guest
Jul 15th, 2019
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. public static String[] giveStringTable() {
  2. String[] tchrs = new String[3];
  3.  
  4. tchrs[0] = "Bonus";
  5. tchrs[1] = "Ihq";
  6. tchrs[2] = "Lennon";
  7.  
  8. return tchrs;
  9. }
  10.  
  11. public static void main(String[] args){
  12. String[] teachers = giveStringTable();
  13.  
  14. for ( String teacher : teachers)
  15. System.out.println( teacher );
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement