@@anilkumargangarapu01 You have to do it in this way (eg. for 2x3 array): array[0][0] = 23; array[0][1]=19; array[0][2]=53; array[1][0] = 08; array[1][1]=91; array[1][2]=63; i.e, you have to assign values manually :p
i had tried much more complex one three arrays class demo { public static void main(String[] args) { int num[][][]= new int[3][2][]; num[0][0]= new int[10]; num[0][1]= new int[6]; num[1][0]= new int[2]; num[1][1]= new int [5]; num[2][0]=new int[8]; num[2][1]=new int[8];
// Online Java Compiler // Use this editor to write, compile and run your Java code online public class Demo { public static void main(String[] args) {
int nums[][][]=new int [3][4][5]; // three dimensional for(int i=0;i
had a hard time finding a proper video on jagged array and how to update it . thanks bro
You are amazing Telusku,the way you have explained the concept of Array,You deserve appreciation.You nailed it bro👏❣
In first for loop instead of i
I like the way you explain Boss, thanks 😊😊
Can we do jagged array of 2nd dimension in 3 dimensional array?
hii, how can we assign fixed values of our own to arrays with different sizes,
without using random values,
@@anilkumargangarapu01
You have to do it in this way (eg. for 2x3 array):
array[0][0] = 23;
array[0][1]=19;
array[0][2]=53;
array[1][0] = 08;
array[1][1]=91;
array[1][2]=63;
i.e, you have to assign values manually :p
sir how can i get notes
the notes are in the description 😁
i had tried much more complex one three arrays
class demo
{
public static void main(String[] args)
{
int num[][][]= new int[3][2][];
num[0][0]= new int[10];
num[0][1]= new int[6];
num[1][0]= new int[2];
num[1][1]= new int [5];
num[2][0]=new int[8];
num[2][1]=new int[8];
for(int i=0;i
Thanks!
Why are you not updating VS Code? Please update VS Code.
Three dimensional array with proper example...i couldnt understand this one.
thug life of telusko
// Online Java Compiler
// Use this editor to write, compile and run your Java code online
public class Demo {
public static void main(String[] args)
{
int nums[][][]=new int [3][4][5]; // three dimensional
for(int i=0;i
This video cant understand , where does math & *10 come from!
// Math is used for generating random numbers
And *10 used for multiplying those number.
Once watch his two dimensional array video 👍
watch his previous video once and then come back to 3D arrays
public class Array {
public static void main(String[] args) {
int num1[]=new int[3];
int num[][]=new int[3][4];
for(int i=0;i
Not understand