Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static String[] giveStringTable() {
- String[] tchrs = new String[3];
- tchrs[0] = "Bonus";
- tchrs[1] = "Ihq";
- tchrs[2] = "Lennon";
- return tchrs;
- }
- public static void main(String[] args){
- String[] teachers = giveStringTable();
- for ( String teacher : teachers)
- System.out.println( teacher );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement