Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * To change this license header, choose License Headers in Project Properties.
- * To change this template file, choose Tools | Templates
- * and open the template in the editor.
- */
- /**
- *
- * @author zihadrizkyef
- */
- public class MultiDimensionArray {
- public static void main(String[] args) {
- String[][] entry = {{"Fahmi Azain", "081-252-067-797", "Jember"},
- {"Hakam Al Amien", "082-261-037-121", "Mojokerto"},
- {"Adelia Maghfira", "085-718-997-313", "Bogor"}};
- for(int x=0; x<=2; x++) {
- System.out.println("Nama : "+entry[x][0]+"\nTelp : "+entry[x][1]+"\nAsal : "+entry[x][2]+"\n");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement