Search
 
SCRIPT & CODE EXAMPLE
 

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]);
    }
}
Comment

PREVIOUS NEXT
Code Example
Java :: remove duplicate from string 
Java :: run java from terminal 
Java :: rider find and replace 
Java :: java arraylist add 
Java :: java print 2d array as table 
Java :: recursion examples java 
Java :: override class java 
Java :: find last element in array in java 
Java :: how to unistall java 
Java :: java.util.HashMap has generic type parameters, please use GenericTypeIndicator instead 
Java :: java timeout 
Java :: java append to file 
Java :: primefaces download file 
Java :: java node class 
Java :: java concatenate strings 
Java :: java difference hashmap hashtable 
Java :: spring 5 jdbctemplate query for a single value 
Java :: java ceil 
Java :: is it possible to quick sort a string in java 
Java :: how to convert string to int in java 
Java :: spigot plugin send message 
Java :: parcourir un string java 
Java :: java run jar with args 
Java :: can i call another function from main hava 
Java :: how to replace in java 
Java :: How to merge two sorted arrays? 
Java :: generate random number in java within a range without repeating with android studio 
Java :: variable is multiple of 3 
Java :: Number formatting java with locale 
Java :: resurce leak java 
ADD CONTENT
Topic
Content
Source link
Name
9+6 =