P27 - Arrays (Multi Dimensional) in Java | Core Java | Java Programming |
HTML-код
- Опубликовано: 11 сен 2024
- In this video, I have explained about "Arrays (Multi Dimensional) in Java".
Points covered in this video:
❇️ What is an Array? Why do we need an Array?
❇️ Different types of arrays in Java?
❇️ What are two dimensional & jagged arrays?
❇️ Different ways of initializing two-dimensional arrays
❇️ Different ways of initializing jagged arrays
❇️ What are default values of array elements?
🔶🔶🔶🔶🔶🔶🔶🔶🔶🔶🔶🔶🔶🔶🔶🔶
▶ Next Video link: • P28 - Looping statemen...
◀ Previous Video Link: • P26 - Arrays (Single D...
📒 Assignment video link: • Core Java - Assignment...
↔ Core Java in Telugu Playlist link: bit.ly/3KMlbBk
✴ Checkout my other playlists: bit.ly/3gLIAVL
☕ Buy me a coffee: bit.ly/33ljBWc
===================================
===================================
Connect me @
🔗 Website - www.hyrtutoria...
🔗 Telegram - t.me/hyrtutorials
🔗 Facebook - / hyrtutorials
🔗 LinkedIn - / hyrtutorials
🔗 Twitter - / hyrtutorials
🔗 Instagram - / hyrtutorials
===================================
===================================
🙏 Please Subscribe🔔 to start learning for FREE now, Also help your friends in learning the best by suggesting this channel.
#hyrtutorialstelugu #selenium #java #telugu
Java programming by Yadagiri Reddy
📌 Core Java in Telugu Playlist link: bit.ly/3KMlbBk
✴ Checkout my other playlists: bit.ly/3gLIAVL
☕ Buy me a coffee: bit.ly/33ljBWc
Hi Bro, i really understood everything from this video crisp and clear even about debugging but i really want you to do one video on "DEBUGGING"🙏🙏. Plz consider it, i know there are lot of other channels that explains it, but ur way of explaining keeps us entertained(like without skipping a second) and engaing😶🌫😶🌫. So guys, whoever want one video especially on "DEBUGGING" plz like this comment or comment as "YES" 🙏🙏so that he will make one video based on the number of people otherwise he might not consider . So, ur wish guys🙌 and sir even though there are no likes, please consider making a video of "DEBUGGING".🤗🤗
Thanks buddy 🙂
Yeah I had planned for a separate video on debugging but just couldn't do it in time due to some personal time issues. Will plan in the coming days buddy
I have cleared the assignment without watching your assignments solution video which built lots of confidence. Thank you so much..
//1 . sum of all the elements
public static void main(String[] args) {
int[][] arr = new int[][] { { 1, 8, 4 }, { 9, 7, 2},{7,6,4} };
int sum=0;
for (int i = 0; i < arr.length; i++) {
for (int j = 0; j < arr[i].length; j++) {
sum=sum+arr[i][j];
}
}System.out.println(sum);
}
}
//out Put-48
//2. Add the elements in an array and print it in the console
public static void main(String[] args) {
int[][] arr1 = new int[][] { { 1, 2, 1 }, { 9, 7, 2 },{7,6,4} };
int[][] arr2 = new int[][] { { 2, 6, 8 }, { 0, 1, 3 },{1,2,4} };
int[][] arr3 = new int[3][3];
for (int i = 0; i < arr1.length; i++) {
for (int j = 0; j < arr1[i].length; j++) {
arr3[i][j] = arr1[i][j] + arr2[i][j];
System.out.print(arr3[i][j] + " ");
}
System.out.println();
}
}
}
//out Put-
3 8 9
9 8 5
8 8 8
//3. Create an array with squares of the existing array
int[][] arr1 = new int[][] { { 2, 3, 5 }, { 0, 1, 3 } ,{1,2,4}};
int[][] arr2 = new int[3][3];
for (int i = 0; i < arr1.length; i++) {
for (int j = 0; j < arr1[i].length; j++) {
arr2[i][j] = arr1[i][j] * arr1[i][j];
System.out.print(arr2[i][j] + " ");
}
System.out.println();
}
}
//out Put
4 9 25
0 1 9
1 4 16
//4. Interchange the values of an array by transposing the index value
//5. Create an array based on condition and print it in the console
int[][] arr1 = new int[][] { {1,2,1},{9,7,2},{7,6,4}};
int[][] arr2 = new int[][] { {1,6,1},{0,7,3},{1,6,4}};
int[][] arr3 = new int[3][3];
for (int i = 0; i < arr2.length; i++) {
for (int j = 0; j < arr2[i].length; j++) {
if (arr1[i][j] == arr2[i][j]) {
arr3[i][j] = 1;
} else {
arr3[i][j] = 0;
}
System.out.print(arr3[i][j] + " ");
}
System.out.println();
}
//Out put
1 0 1
0 1 0
0 1 1
//6. Interchange the values of an array by transposing the index value
int[][] arr1 = new int[][] { { 1, 8, 4 }, { 9, 7, 2 } ,{7,6,4}};
int[][] arr2 = new int[3][3];
for (int i = 0; i < arr1.length; i++) {
for (int j = 0; j < arr1[i].length; j++) {
arr2[i][j] = arr1[j][i];
System.out.print(arr2[i][j] + " ");
}
System.out.println();
} }
//Input out Put
1 8 4 1 9 7
9 7 2 8 7 6
7 6 4 4 2 4
Great buddy. Keep it up
4th one raledha
can we do in scanner class???let me know how to do in scanner classes
your assignments are so useful for us to go deep in to the concept😊😊😊😊😊
That's the intent of assignments buddy.
Good to know that they are helping you
Bro you have a excellent teaching skills 👌 , the way of your explanation is super.
Iam following your core Java course don't give up, please complete full course of core Java 🙏
We are waiting for your next video
Thankyou buddy
@@HYRTutorialsTelugu please sir, do continue the remaining videos?
Sure buddy
Awesome explanation and very easy to learn regional language lo superb 👏🏻👏🏻
Thanks buddy 😊
Hurry, This much of detailed Mutli DImensional array explanation is clear bruh
Thanks buddy 😊
In-depth explanation, thank you so much.
Thanks buddy 😊
Thank you so much for your support
Happy Learning buddy 🙂
Excellent and great sessions 👏👏
Thanks buddy 🙂
Thank you so much❤❤, I have trying to learn since from 3 years is not possible when i watched your videos really every one will get intrest bcz of ur simple and smart explanation on java.
The way of ur explaining is fabulous. very easy to capture ur language and java😊😊
Thanks buddy 😊
thank you sir for the detail explanation of arrays. this was the best I never heard
Thanks buddy
sir very excellent explanation. Very helpful for beginners.
Thanks buddy
thankyou sir for providing amazing course🙇♂🙇♂🙇♂
Happy Learning buddy 🙂
i understood very easily, thanks once again for clear explanation.
Thanks buddy 😊
Thank you so much sir and one request from my side...if possible please share answers of assignments sir.
Description lo link undi chudu buddy
Thank you so much for your time and valuable content
Happy learning buddy 😊
Superb ga explanation ichav Anna
Thanks buddy 😊
Thnku soo much sir I never find such clear explanation before ✨
Thanks buddy 😊
😊
Assignments give a good understanding and deep knowledge of coding and logic. Video is handy
Thanks buddy 🙂
Super Explanation bro
Thanks buddy 😊
Bro your teaching is very v
Wanderful please continue bro 🙏🙏🙏🙏
Thanks buddy 😊
Thank you so much sir. Clear Explaination about the arrays❤❤
i did 2nd question like this :
import java.util.Scanner;
public class numbers5 {
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
System.out.println("enter array1 row size");
int arrsiz1r= sc.nextInt();
System.out.println("enter array1 coloumn size");
int arrsiz1c=sc.nextInt();
int [][]arr1=new int[arrsiz1r][arrsiz1c];
System.out.println("enter array1 values");
for(int i=0;i
Super explaining sir
Python css. Vedios sir
Thanks buddy 😊
Thank you sir
Happy learning buddy 😊
Thank you so much sir 🙏
Happy learning buddy 😊
got confidence after watching all the videos
That's good 👍
create an array based on the mentioned conditions and print it in the console .? question no 5 (Assignment) there is a small mistake sir., that is 3rd row 3rd column in input 1: (4) and same in input 2: 3rd row- 3rd column (4) that is matching element so the answer is (1) in the output 3rd row - 3rd column..
Yeah solutions video lo correct chesa buddy
Hi Anna, No words to say about the video it is awesome and easy to understand the full concept. Thanks a lot for the video
Happy Learning buddy 🙂
Thank you brother for your effective information to teach us
Happy learning buddy 😊
excellent way of teaching .............
Thanks buddy 😊
Nyc Explanation Guru Ji Am Purchased Membership Account For You Selenium Classes Thank You So Much Guruji
Thanks buddy 😊
Very well said sir.
Big thanks
Tq anna chala baga explain chasavu
Thanks buddy 😊
Hi sir..firstly thank you so much....chala clear ga cheptunnaru.. can u also gave assignment answers ?
Thanks buddy 😊
Check the description buddy
Thank you so much.i have seen so many videos but in this video i learned clearly about multi Dimensional Array.
Super buddy
Next level explanation sir
Thanks buddy 🙂
Nice dude
when i seen video
Fell good dude
Thanks dude
your videos nice sir🥰🙏
thanks a lot sir
Tq sir
Waiting for next video
Coming soon buddy
It's a gud session..can you please provide the output of all the programs which you are giving us as assignment..
Check the description buddy
assingment done bro but first one only some thougn remaining all easy
Thank you annaya... very good explanation....
Thanks buddy
good explanation please upload total core java classes 🙏🙏
Thanks buddy 😊
Sure buddy
Chala baga explain chesaru,
Thanks a lot sir
Thanks buddy 🙂
Sir, i unable to crack the 4tb problem.. i only used looping statements and conditional statements for solve this problem. i am getting right output, for ex: input-1 lo 2 element, input-2 lo two times repeat ayyindhi, so i am getting 2 is two times in console. Please help me.
Check the description for solutions video buddy
Sir i have a doubt
Q= i++ ante adi use chesedi increment avvadanki use chesthamu kada sir
Yes buddy.
++ Is a incremental operator
Your explanation is very very very........good bro
Thanks buddy 🙂
Tq so much sir 🙏🏻
For ur explanation
Happy learning buddy 😊
Sir sub arrays midha oka video cheyandi
Sub arrays ane daani meeda inko video em ledu buddy. its just a concept in the array buddy. if you understand this video then sub arrays is easily understandable buddy
thank you Brother for the detail explanation of arrays. this was the best
Thanks buddy 🙂
Thanks for sharing information anna
Happy learning buddy 😊
Very well explained 👍👍
Thanks buddy 😊
Core java complete cheyandi sir ..and spring boot medha videos cheyandi .
Springboot meeda no plans buddy
Sir do discuss assignment questions in the start of session
You can check the solutions video link in the description buddy
code first for loop nundhi read chasthundha lakapothay second for loop nundhi outter loop ki velthundha
excellent sir
Thanks buddy 🙂
This is for me 😘🤩😍 yaaaaa huuuuuuuuuuuuuuu thank you sir
Happy learning buddy 😊
nice explanations sir thank u so much
Thanks buddy 😊
Awesome explanation bro
Thanks buddy 😊
Thank you for sharing knowledge bro
Happy learning buddy
Sir, I'm a fresher. If i follow all your videos then i will get job?
Vastadi buddy
Really usefull😅😅thank you soo much anna inka programms explanation ivvocchukadha
Happy Learning buddy 🙂
Idi konvcham tricky vundi ardham cheskodaniki,will watch again
Yes buddy
@@HYRTutorialsTelugu Done buddy, understood now,going ahead with assignments.Thank you.
@@VinayKumar-cm2nn Good
Hello, have u uploaded video on how to capture screenshot on test failure for parallel execution with TESTNG?
Checkout this video buddy:
ruclips.net/video/S5wJYCHrUQ4/видео.html
Hello sir,i am trying to do reverse array using jagged array but the same logic doesn't seems to be working..can u let me know if we have any size restrictions for jahged arrays when we perform such actions
Nice vedio and good explanation
Thank you buddy 🙂
nice explaining
Thanks buddy 😊
anna system .out.println{arr[i][j]+" " e space enduku ichaaru can u explain and kinda empty sysout enduku print chesaru can u explain
Just formatting kosam buddy. nuvvu aa spaces and extra sysout ivvakunda try chei then you will se ethe difference in the printed output
Array programming logics cheppandi sir. like only even index num print or odd num index print etc..
Check the description for the solutions video link buddy
good explanation sir
Thank you buddy 🙂
Matrix Multiplication is a good problem, sir
Yes buddy
Provide Assignment answers please
Yes sir
Check the description for the solutions video link buddy
Super sir🎉🎉🎉🎉❤
Thanks buddy 🙂
Thank you sir...
Happy learning buddy 😊
Useful👍
Thanks buddy 😊
Sir please మీరు assignment ఇస్తున్నారు..వాటిలో కూడా కొన్ని examples చూపించి ఇస్తే బాగుంటుంది..సార్ ఎందుకంటే అస్సలు తెలియని వారం వున్నాం
Check the description for the solutions video link buddy
Sir please explain Assignment Questions also in the video
Assignment questions explain chesanu kada buddy
nice video anna
Thanks buddy 🤩
user input tisukoni example chepthe inka baga ardamavuthundi bro
Assignment ichanu buddy anduke
Please continue remaining concepts in Java sir
Yeah sure buddy
Tnq bro❤
Happy Learning buddy 🙂
Thank you
Happy learning buddy 😊
thank you anna explain of java
Keep watching and keep supporting buddy
great!
Thanks buddy 🙂
super explanation sir
Thanks buddy 🙂
6.class Transpose {
public static void main(String[] args) {
int arr[][]={{2,3,5},{9,7,2},{7,6,4}};
int arr2[][]=new int[3][3];
int temp;
for(int i=0;i
Good buddy
Just superb🎉🎉🎉🎉🎉
Thanks buddy 😊
Good vedio sir
Thanks buddy 🙂
Hello sir , nenu debug chesetappudu printStream ane code vastundhi sir meri chesinattu ravatlesu em cheyali sir cheppandhi please
Can u send me the screenshots or video on hyadagirireddytutorials@gmail.com
Bro Selenium Tester Roles and Responsilblity Video Chesyandi Resume ela prepare chheyali ..
Yes sir do these
Yeah will plan buddy
int size =0;
for (int i = 0;i
Just extra line kosam buddy.
Adi pettakunda execution chesi chudu and petti execution chesi chudu
Please continue the series
Sure I will continue buddy
exellent video sir
Thanks buddy 😊
thank you anna 😊
Happy learning buddy 🙂
hello sir, In second assignment question output[3][3] = 8 8 8 not 7 8 8 because intput1[3][1] + input2[3][1] = 8
Printing mistake buddy
Bro meeru advance java concepts cheptara bro jdbc, hibernate, spring frameworks atleast one
No plan buddy 😔
Sir how to comments lines will provide all lines in at a time
Watch the comments video buddy