Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

writing values in 2d array java


public class Sample {
    public static void main(String[] args) {

        String names[][] = {
                { "jasmine", "jasmine123" },
                { "lyka", "lyka123" },
                { "marbie", "marbie123" }
        };
        names[1][0] = "lyka panget";
        System.out.println(names[1][0]);
    }
}
 
PREVIOUS NEXT
Tagged: #writing #values #array #java
ADD COMMENT
Topic
Name
7+5 =