00:05 Introduction to 2D Arrays 02:31 Introduction to 2D arrays in Java. 05:27 2D arrays are defined by specifying the number of rows and columns 07:39 Explanation of accessing elements in a 2D array and taking input of its elements 09:58 Nested loops are used to repeat a loop again and again, controlling different aspects in each loop. 12:13 Converting the concept into code 15:07 Learned to take input for alarms and search for specific numbers 17:32 Understanding 2D Arrays and their unique number representation 19:48 Learned about problem-solving techniques using 2D arrays. Crafted by Merlin AI.
Shraddha di , your way of teaching is fantastic .......I started learning DSA using java by your series of vedio...please upload vedio regularly .it would be your great grace for me. Thank you di
@apna college can you please continue this playlist and post videos on a regular basis?? As it is seen many of us are following your lectures as your explanation is really good... It would be very much helpful for us if you keep on posting videos on a regular basis.
Thank You So Much Didi. After watching your videos, it motivates me a lot. I usually, don't follow my routine regularly. But I never miss your video and regularly follow the videos because of your Teaching Style. Thanks a lot
Either post Java videos on a regular basis or inform us now that will you continue Java or not... many students are dependent on this channel. Please don't break our rhythm.
Actually they have a premium course name alpha or something ,where everything is listed properly ....so these videos are part of that course . FYI: you can find the link in the description of first video in this course
@Apna College Shraddha Dii thanks for explaining such complex concepts so easily like its nothing and making java programming interesting i felt proud to learn java from you and the course the way you are teaching is so interesting and enjoyble.Thankyou again The main thing i wanna know is how long will it take to complete like the whole java dsa course and it would be so helpful if you post 2 or more videos in one day is possible. Thankyou again.
for those who having trouble getting output from Intel j try this replacing or u can just give the console each number separately rather than 12345... just give the all 5 number 1 by 1 and repeat till all input filled input for row System.out.println("Enter the matrix row by row:"); for (int i = 0; i < row; i++) { String rowString = sc.nextLine(); for (int j = 0; j < column; j++) { numbers[i][j] = Character.getNumericValue(rowString.charAt(j)); }
@apnacollege plz check your problem which is given in the Lecture 11 Video which is --- Print the spiral order matrix as output for a given matrix of numbers. This programm is not gives the accurated spiral matrix.
I had a quick question I am a CS student in USA Aren't columns vertical ↓ and rows are horizontal →? Why is it opposite in this video? BTW ty for the great content Apna College. You are very helpful. Keep it up!!!
you're right that cols are vertical and rows are horizontal. and this video also practices that concept. I think you misunderstood something, so I would suggest rewatching it.
Shradha di actually mere 12th me 58% ( less than 60%) marks so main TCS code Vita , Infosys infytq jaise contest ko crack karna chahta hu please aap is topic par video bna kar strategy bataiye by these strategies I cracked these contest
Hey maam in define size of 2d array once we give 10 for array 10 bits are fixed for that variable, when again run the program when again give array size as 20 ,it will same bits extended are again different place is taken for that variable.
why not this for the homework question? - q - Example : original = “eabcdef’ ; result = “iabcdif” Original = “xyz” ; result = “xyz” import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); System.out.println(" string daal : "); String name = sc.nextLine(); if (name.contains("e")){ String result = name.replace("e" , "i"); System.out.println(result); } else { System.out.println("nope !"); System.out.println(name); } } }
18:52 .Didi I wanna ask you one thing that 18:52 you use if condition but if I want to also use else condition where should I put else statement if am using that after if statement that prints else condition rows*columns times because of loops and outside the loop that showing error. Please help me
Mam regular post kijay please videos java ka... Its a humble request... I am just entering into my fav part of life...and don't want to loose the rythm.
Bhaiya/didi mein ase jaga pe atak gaya naa mein koi lower college mein admission le sakta hu CSE mein na mein koi accha college mein CSE mil raha hai. But I love CSE. What should I do ? Mujhe tech company mein jana hai. To kya mujhe college sacrifice karke lower college mein jana chaiye? Yaa achche college mein Mechanical/chemical padna chaiye? Please help me. It's totally awful and pushing me for depression day by day 🥺
I just noticed some people daily didn't get it better lecture because they don't see it 😅 and episode by episode people are decrement not incriment 😅😅😅😮😮
Do upload some more videos of java ( eagerly waiting)... I'm an electrical engineer & shifting to IT enviornment & mam you helped me a lot thank you so much
THIS MUCH FOR ARRAYS IS NOT ENOUGH.. AND IF STUDENTS ARE PREPARING FOR PLACEMENT FROM YOUR PLAYLIST THEN PLEASE TAKE THEM SERIOUSLY🙏 TO EVERYONE WHO IS WATCHING THIS PLAYLIST, ALL I WANT TO SAY IS : PLEASE DON'T CONSIDER THIS PLAYLIST IF YOU ARE PREPARING FOR PLACEMENTS.
my code takes input for each position in the array; i have to put 15 entries, each separately, how can i fix this and enter each row at once like in the video?
Di can you please solve this shifting of an array by particular number of elements. I really want you to share the solution in any of your video . And Pascal's triangle as well
import java.util.*; public class Array { public static void main(String args[]){ int i; int count=0; System.out.println("enter the number of elements:"); Scanner sc=new Scanner(System.in); i=sc.nextInt(); System.out.println("enter the array elements:"); int num[]=new int[i]; for (int j = 0; j < num.length; j++) { num[j]=sc.nextInt(); } System.out.println("enter the key element:"); int a=sc.nextInt(); for (int j = 0; j < num.length; j++) { if(num[j]==a){ System.out.println(j); count++; } }if(count!=1){ System.out.println("element not found!"); }
} } import java.util.Scanner; public class twoarray { public static void main(String args[]){ int num[][]=new int[2][3];int count=0; Scanner sc=new Scanner(System.in); for (int i = 0; i < 2; i++) { for (int j = 0; j < 3; j++) { num[i][j]=sc.nextInt();
}
}
for ( int i = 0; i < 2; i++) { for (int j = 0; j < 3; j++) { System.out.print(num[i][j]+" ");
} System.out.print(" "); } System.out.println("enter the key element:"); int key=sc.nextInt(); for ( int i = 0; i < 2; i++) { for (int j = 0; j < 3; j++) { if(num[i][j]==key){ System.out.println(i+"," +j); count++; }
Maine bhi kabhi computer science se engineering ki thi pr waha tatti parosa jata tha. Kash meju bhi koi ap logo jaise teacher milte hote ya us samay mobile itna advance hota to mere 4 saal kharab na hote
00:05 Introduction to 2D Arrays
02:31 Introduction to 2D arrays in Java.
05:27 2D arrays are defined by specifying the number of rows and columns
07:39 Explanation of accessing elements in a 2D array and taking input of its elements
09:58 Nested loops are used to repeat a loop again and again, controlling different aspects in each loop.
12:13 Converting the concept into code
15:07 Learned to take input for alarms and search for specific numbers
17:32 Understanding 2D Arrays and their unique number representation
19:48 Learned about problem-solving techniques using 2D arrays.
Crafted by Merlin AI.
Found these lectures one of the best among all of the Java videos now I am more comfortable in Java language Thanks shraddha didi and apna college
Anybody is from second year ❤
Yes
Yes but you
Same
Bro 10th me hun
@@Gimbap_xo who asked ?
Shraddha di we Salute your COMMITMENT!!
ua-cam.com/video/LDJ4FQQT2Ho/v-deo.html
she is microsoft didi
ua-cam.com/video/4gpgWHHKSsU/v-deo.html
Ok
Ok
Finally aa gaya lacture, 2 din se wait kar rahe the ..... 🙂💯
ua-cam.com/video/LDJ4FQQT2Ho/v-deo.html
Ab
Yep
ua-cam.com/video/4gpgWHHKSsU/v-deo.html
Lacture op
Plz aman bhaya complete the whole Java course it's eagerly necessary 🙏
Please regularly post the lectures because I'm preparing for placement from your video.thank you 🙏🙂
Same here 😅
Even I am waiting for next lectures
ua-cam.com/video/VNBhtuEfs9U/v-deo.html
Best of luck bro
I am in my first year, I start DSA with java from this course hope this will help me....but I also notice regularity is a problem with this course.
Hello shradha di please continue this java series it's very useful for us🙏🙏🙏
Thank you.
Shraddha di , your way of teaching is fantastic .......I started learning DSA using java by your series of vedio...please upload vedio regularly .it would be your great grace for me. Thank you di
But i think before java you must learn the spelling of video
@@honeysingh-ne7nv 😁😁😁
Me who study in ICSE bord class 10 chapter 9 matrix 😢
fr
Me who has taken computer application in ICSE class 10😢
@apna college can you please continue this playlist and post videos on a regular basis?? As it is seen many of us are following your lectures as your explanation is really good... It would be very much helpful for us if you keep on posting videos on a regular basis.
Thank You So Much Didi. After watching your videos, it motivates me a lot. I usually, don't follow my routine regularly. But I never miss your video and regularly follow the videos because of your Teaching Style. Thanks a lot
ua-cam.com/video/MSR9cnlcnBg/v-deo.html C language
ua-cam.com/video/4gpgWHHKSsU/v-deo.html
Ma'am firstly gratitude for this kind of lectures but It'll be more helpful if we get a lecture per day. THANKS
Shraddha di you're the best teacher I could get tomorrow is my 10th ICSE board examination and you're helping me and many other students.❤❤
Either post Java videos on a regular basis or inform us now that will you continue Java or not... many students are dependent on this channel.
Please don't break our rhythm.
Actually they have a premium course name alpha or something ,where everything is listed properly ....so these videos are part of that course . FYI: you can find the link in the description of first video in this course
@Apna College Shraddha Dii thanks for explaining such complex concepts so easily like its nothing and making java programming interesting i felt proud to learn java from you and the course the way you are teaching is so interesting and enjoyble.Thankyou again
The main thing i wanna know is how long will it take to complete like the whole java dsa course and it would be so helpful if you post 2 or more videos in one day is possible.
Thankyou again.
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: Index 3 out of bounds for length 3
at Main.main(Main.java:24)
exactly same error
May be you could have traversed the array from 0 to size
ie.for(int i=0;i
@@srinithis3749 thanks
Awesome explaination ma'am 🎉 I would really like to thank you.
Finally we are getting it. Thankyou didi
ua-cam.com/video/LDJ4FQQT2Ho/v-deo.html
helped me self study all of AP Computer Science A ... absolute W series !!!
Thanks 👍 didi your communication skills ☺️ and how to share your knowledge with others is great 👍
Thanks ♥️
Are yaar ye kitni awesome hai ...I love you mam
public class Factorial {
public static void main(String[] args) {
int n = 10; // Change n to whatever value you need
for (int i = 1; i
Thnks a lot Shraddha
Ultimately doubts toh clear yahi se hote hai
I was confuse in scanner part now it cleared. THANKS 🙏
Thnaksss......kab se wait kr raha tha next video ke liye......
ua-cam.com/video/LDJ4FQQT2Ho/v-deo.html C language
@@computer5548 ok
Thanks a lot mam for your support and guidance ❣👏👍🙏😊
ua-cam.com/video/LDJ4FQQT2Ho/v-deo.html C language
for those who having trouble getting output from Intel j try this replacing or u can just give the console each number separately rather than 12345... just give the all 5 number 1 by 1 and repeat till all input filled
input for row
System.out.println("Enter the matrix row by row:");
for (int i = 0; i < row; i++) {
String rowString = sc.nextLine();
for (int j = 0; j < column; j++) {
numbers[i][j] = Character.getNumericValue(rowString.charAt(j));
}
@apnacollege plz check your problem which is given in the Lecture 11 Video which is --- Print the spiral order matrix as output for a given matrix of numbers.
This programm is not gives the accurated spiral matrix.
ThankYou!! Keep growing keep shining and keep teaching us☺
I had a quick question
I am a CS student in USA
Aren't columns vertical ↓ and rows are horizontal →?
Why is it opposite in this video?
BTW ty for the great content Apna College. You are very helpful. Keep it up!!!
you're right that cols are vertical and rows are horizontal. and this video also practices that concept. I think you misunderstood something, so I would suggest rewatching it.
Rewatch
u r correct last question mein unse error ho gya last mein
Maam, You teach very well! Even you are younger than me, I will go with c++ as java course is not ready yet!
Wonderful content and excellent way of teaching..lots of love for this series.
Thank you for your wonderful explanation for every topics 😊 it really helps us a lot.
heyy is the course fully completed??
Shradha di actually mere 12th me 58% ( less than 60%) marks so main TCS code Vita , Infosys infytq jaise contest ko crack karna chahta hu please aap is topic par video bna kar strategy bataiye by these strategies I cracked these contest
Please 🙏🙏🙏🙏🙏🙏🙏🙏🙏
Bro mere bhi btech mei 58 percent hain
Didi ek video coding Ke flow map pr banadijiye.... Ki coding seekhne se pehle kya basics seekhne honge aur kis ke liye konsi language seekhe...
Best explanation , thank you so much 💙🙏
ua-cam.com/video/MSR9cnlcnBg/v-deo.html C language
ua-cam.com/video/4gpgWHHKSsU/v-deo.html
Beauty with Brain ❤❤
Gestures outcomes the deep knowledge 🌻🌻
Hairs are killer in addition❣️ antenna of power 💰🦚🩵
Keep rising 👏👏
I am unable to solve Q.1 in homework problem and the given code is not giving proper output. Can anyone help me
You can get only name as a output not full name example
Just: Ritesh not full name Ritesh verma
@@ritikpal6175 bro I think you are seeing any other question. The question is about spiral Matrix
Thank you dii.. U are just best dii.
ua-cam.com/video/LDJ4FQQT2Ho/v-deo.html C language
Hey maam in define size of 2d array once we give 10 for array 10 bits are fixed for that variable, when again run the program when again give array size as 20 ,it will same bits extended are again different place is taken for that variable.
best playlist for java dsa mam and thankyou mam
for this playlist i am at first year student i watch this lecture
Didi where is the next vedio
Eagerly waiting ❤️
same bhai
ua-cam.com/video/4gpgWHHKSsU/v-deo.html
Mam please classes continue karo na it's very helpful for me
why not this for the homework question? -
q - Example :
original = “eabcdef’ ; result = “iabcdif”
Original = “xyz” ; result = “xyz”
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
System.out.println(" string daal : ");
String name = sc.nextLine();
if (name.contains("e")){
String result = name.replace("e" , "i");
System.out.println(result);
}
else {
System.out.println("nope !");
System.out.println(name);
}
}
}
Didi mujhe is video sabse Jyada aapki typing speed acchi lagi
I watched many lecture of 2d array but here t understood what is 2d array
Thank you didi
Best course , Thank you Shraddha Didi for your efforts
Best java course forever❤
Mam please regular uplode a videos because we are preparing for placement watching your videos
18:52 .Didi I wanna ask you one thing that 18:52 you use if condition but if I want to also use else condition where should I put else statement if am using that after if statement that prints else condition rows*columns times because of loops and outside the loop that showing error. Please help me
Mam regular post kijay please videos java ka... Its a humble request... I am just entering into my fav part of life...and don't want to loose the rythm.
Spiral Order Matrix ko pura samjhne me ghanto lag geya(As a beginner),, but ya it surely required great coding skills to make a code like dat.
very good explanation of the concept and example given. Also very nicely explained for loop iterations. :) 🤗
Thx mam u r Soo clever and u r teching is amazing really 👏
Khata book is the best example for this algorithm
you are very hardworking mam your lacture is out standing....
Thank u apna college day by
day I am increasing my knowledge level❤❤❤❤❤❤
18:55 x found at location (1,3) but you said (0,3)
I am preparing for placement please upload daily
Your teaching style is really awesome❤ it helps me a lot..
Bhaiya/didi mein ase jaga pe atak gaya naa mein koi lower college mein admission le sakta hu CSE mein na mein koi accha college mein CSE mil raha hai. But I love CSE. What should I do ? Mujhe tech company mein jana hai. To kya mujhe college sacrifice karke lower college mein jana chaiye? Yaa achche college mein Mechanical/chemical padna chaiye? Please help me. It's totally awful and pushing me for depression day by day 🥺
Go for cse dude! You can even grab some good opportunities if you are from any tier 3 college... don't worry ...all the best
ua-cam.com/video/aFKp8LZcNlM/v-deo.html C language
Thank you so much di.we truly love you for the work.
I just noticed some people daily didn't get it better lecture because they don't see it 😅 and episode by episode people are decrement not incriment 😅😅😅😮😮
Do upload some more videos of java ( eagerly waiting)... I'm an electrical engineer & shifting to IT enviornment & mam you helped me a lot thank you so much
Thanks a lot Aman bhaiya and Shraddha didi❤️✌🏻
THIS MUCH FOR ARRAYS IS NOT ENOUGH.. AND IF STUDENTS ARE PREPARING FOR PLACEMENT FROM YOUR PLAYLIST THEN PLEASE TAKE THEM SERIOUSLY🙏
TO EVERYONE WHO IS WATCHING THIS PLAYLIST, ALL I WANT TO SAY IS : PLEASE DON'T CONSIDER THIS PLAYLIST IF YOU ARE PREPARING FOR PLACEMENTS.
Dii aage java lectures kab daloge ❤️❤️❤️ we want more❤️❤️❤️❤️❤️
Di Last ka jo question hai wo (2, 4) hoga (1, 3)
4:58- size of Boolean is 1 bit (1byte =8 bit )
its one byte
wonderful style teaching go on , will you very popular one days
my code takes input for each position in the array; i have to put 15 entries, each separately, how can i fix this and enter each row at once like in the video?
what if there are repeated number in an array?
how to solve it ?
Thank you Didi madum, finally got clear understanding of this concept
Aap bhut achchha pathate ho with smile jo hame bhut achchha lagta hai
You said 0,3 n then 1,3 😇its okie it happens but I got it...thank you so much
Aman sir shraddha mam bht sare log apki ye series follow kr rhe including me... Cmplt it please
Amazing ma'am keep it up thanks
ua-cam.com/video/LDJ4FQQT2Ho/v-deo.html C language
x to row=2, coloumn=4 me tha but ansr to 1,3 ye mujhe samjh nahi aya
I am addicted to this channel
Hello, I want to know about app that you are using to illustrate or present lecture. Thanks
10:20 wah re Editor 🤦♂️👏
location of 11 is (2,4) according to your output ,how it is (1,3)
Mam already told that java is 0(zero) index based
Thanks a lot didu
Please complete this Playlist with full data structures (java)
Your content is very premium. So you can upload video in 2160p
ua-cam.com/video/aFKp8LZcNlM/v-deo.html C language
Thank you so much shraddha dii😊😊your videos are very halpful in my coading🥇
for(int i:array)
when is this used ?
does this require any prerequisite statements to work?
here 'i' represents the elements in the array. This 'for' loop will keep on going till the last element of the array is reached.
Mam please upload a next lecturer
I am waiting for your next lecture
We are waiting for your next video.
Plz upload daily 1 video
hi @Apnacollege loved your tutorial and simply super,keep rocking
Kaash main jab graduate hua tha...tab aise faculty milta🙏🏿🙏🏿
Thank you so much for this amazing playlist ❤
Didi when will you be uploading next lecture, plz give us any update ...we are in good pace with course
Explaination is not enough for hw problems please atleast explain the solution in next lecture otherwise it is not worth it
waiting for the next video ...
Beauty with brain ❤
Di can you please solve this shifting of an array by particular number of elements.
I really want you to share the solution in any of your video .
And Pascal's triangle as well
import java.util.*;
public class Array {
public static void main(String args[]){
int i;
int count=0;
System.out.println("enter the number of elements:");
Scanner sc=new Scanner(System.in);
i=sc.nextInt();
System.out.println("enter the array elements:");
int num[]=new int[i];
for (int j = 0; j < num.length; j++) {
num[j]=sc.nextInt();
}
System.out.println("enter the key element:");
int a=sc.nextInt();
for (int j = 0; j < num.length; j++) {
if(num[j]==a){
System.out.println(j);
count++;
}
}if(count!=1){
System.out.println("element not found!");
}
}
}
import java.util.Scanner;
public class twoarray {
public static void main(String args[]){
int num[][]=new int[2][3];int count=0;
Scanner sc=new Scanner(System.in);
for (int i = 0; i < 2; i++) {
for (int j = 0; j < 3; j++) {
num[i][j]=sc.nextInt();
}
}
for ( int i = 0; i < 2; i++) {
for (int j = 0; j < 3; j++) {
System.out.print(num[i][j]+" ");
}
System.out.print("
");
}
System.out.println("enter the key element:");
int key=sc.nextInt();
for ( int i = 0; i < 2; i++) {
for (int j = 0; j < 3; j++) {
if(num[i][j]==key){
System.out.println(i+"," +j);
count++;
}
}
}if(count!=1){
System.out.print("not found!");}
}
}
Maine bhi kabhi computer science se engineering ki thi pr waha tatti parosa jata tha.
Kash meju bhi koi ap logo jaise teacher milte hote ya us samay mobile itna advance hota to mere 4 saal kharab na hote
1st question of homework is something wrong as mentioned output "System.out.println();" should be before two curly braces.