title
Arrays in Java Part - 1 | Introduction to Java Arrays | Java Programming | Java Edureka

description
🔥Java Certification Training: https://www.edureka.co/java-j2ee-training-course This Edureka video on “Arrays in Java Part - 1” will talk about one of the pillars of Java fundamentals i.e Arrays. It will also take you through the various types of arrays in Java and how they are used to achieve various functionalities. Through this tutorial, you will learn the following topics: 1. Arrays in Java 2. Types of Arrays 3. Working with Arrays 4. Sorting in Arrays 5. Searching in Arrays Check out our Java Tutorial blog series: https://goo.gl/osrGrS Check out our complete Youtube playlist here: https://goo.gl/gMFLx3 ------------------------------------- Do subscribe to our channel and hit the bell icon to never miss an update from us in the future. Instagram: https://www.instagram.com/edureka_learning/ Facebook: https://www.facebook.com/edurekaIN/ Twitter: https://twitter.com/edurekain LinkedIn: https://www.linkedin.com/company/edureka #Java #JavaTutorial #JavaArrays #JavaArraysTutorial #LearnJava #JavaOnlineTraining #JavaProgramming ------------------------------------- How it Works? 1. This is a 7 Week Instructor-led Online Course, 45 hours of assignment and 20 hours of project work 2. We have a 24x7 One-on-One LIVE Technical Support to help you with any problems you might face or any clarifications you may require during the course. 3. At the end of the training, you will be working on a real-time project for which we will provide you a Grade and a Verifiable Certificate! ------------------------------------- About the Course Edureka's Advanced Java J2EE and SOA training and certification course is designed for students and professionals who want to be a Java Developer. This is a 42-hour course which will cover both core and advanced Java concepts like Database connectivity, Threads, Exception Handling, Collections, JSP, Servlets, XML Handling etc. We will also learn various Java frameworks like Hibernate and Spring. During our Java/ Certification training, our instructors will help you: 1. Develop the code with various Java data types, conditions, and loops. 2. Implement arrays, functions and string handling techniques. 3. Understand object-oriented programming through Java using Classes, Objects and various Java concepts like Abstract, Final etc. 4. Implement multi-threading and exception handling. 5. Use parse XML files using DOM and SAX in Java. 6. Write a code in JDBC to communicate with the Database. 7. Develop web applications and JSP pages. 8. Interact with the database using hibernate framework. 9. Write code with spring framework components like Dependency Injection and Auto Wiring. 10. Implement SOA using web services. ------------------------------------- Who should go for this course? This course is designed for professionals aspiring to become Java Developers. Programmers, Web Developers, Web Designers, Programming Hobbyists, Database Administrators, Youngsters who want to kick-start their career are the key beneficiaries of this course. ------------------------------------- Why learn Java? Java is a general-purpose, class-based, object-oriented computer programming language that was designed by James Gosling at Sun Microsystems in 1995. Key Highlights of Java: Platform Independent: This allows programmers to develop applications that can run on any operating system. Usability of Java: Java is most widely used programming language. It is present everywhere. It really doesn't matter which domain you are working in, you will surely come across Java sooner or later! Open Source: The good news is that Java is available for free! All the development tools and the environment (JRE & JDK) that is used to develop Java applications are absolutely free of cost. Android: Irrespective of the fact that you are tech savvy or not, most of us are badly bitten by the Android bug! Android is in great demand today and fortunately you need Java for Android development. Hence, the importance of Java has increased even more. Hadoop: Hadoop is one of the most trending framework for processing Big Data. It has been designed and developed in Java. In spite of having a tough competition on the server side from Microsoft and other companies, Java is doing extremely well on mobile platforms, thanks to Android! It has also been the primary language for Hadoop Developers. ------------------------------------- Got a question on the topic? Please share it in the comment section below and our experts will answer it for you. For Java Training and Certification, please write back to us at sales@edureka.co or call us at IND: 9606058406 / US: 18338555775 (toll free).

detail
{'title': 'Arrays in Java Part - 1 | Introduction to Java Arrays | Java Programming | Java Edureka', 'heatmap': [{'end': 280.103, 'start': 234.593, 'weight': 0.781}], 'summary': 'Covers the introduction to java arrays, 1d and 2d arrays, array of arrays, manipulation, matrix operations, and practical examples, providing a comprehensive overview of fundamental data structures in java with emphasis on their purpose, types, operations, and efficient data handling.', 'chapters': [{'end': 366.888, 'segs': [{'end': 153.644, 'src': 'embed', 'start': 127.274, 'weight': 0, 'content': [{'end': 131.197, 'text': 'So we have a reference variable which will be pointing to the array.', 'start': 127.274, 'duration': 3.923}, {'end': 136.241, 'text': 'Now the data stored in an array is a contiguous memory location.', 'start': 131.697, 'duration': 4.544}, {'end': 138.502, 'text': 'It means that they are the neighbors now.', 'start': 136.361, 'duration': 2.141}, {'end': 144.006, 'text': 'So there are various different types by which we can represent the data in arrays.', 'start': 139.283, 'duration': 4.723}, {'end': 149.69, 'text': 'So we can represent the data as single dimensional or 1D array.', 'start': 144.366, 'duration': 5.324}, {'end': 153.644, 'text': 'which is storing the elements as in a row.', 'start': 150.222, 'duration': 3.422}], 'summary': 'Arrays store data in contiguous memory locations and can be represented as 1d arrays with elements stored in a row.', 'duration': 26.37, 'max_score': 127.274, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/TmM9XAIKa-Y/pics/TmM9XAIKa-Y127274.jpg'}, {'end': 280.103, 'src': 'heatmap', 'start': 234.593, 'weight': 0.781, 'content': [{'end': 237.095, 'text': 'So guys how we can create a 1D array.', 'start': 234.593, 'duration': 2.502}, {'end': 239.696, 'text': 'So creating a 1D array is very basic.', 'start': 237.515, 'duration': 2.181}, {'end': 246.64, 'text': 'So give a reference variable name and you mention the data type with the new operator, with the size,', 'start': 240.096, 'duration': 6.544}, {'end': 250.603, 'text': "and you'll be able to get your array created in the RAM area.", 'start': 246.64, 'duration': 3.963}, {'end': 257.106, 'text': 'So reference variable with the new integer 5 will give you an array of 5 integers, right?', 'start': 251.443, 'duration': 5.663}, {'end': 261.649, 'text': 'So you need to be having this syntax where we can create an array.', 'start': 257.125, 'duration': 4.524}, {'end': 266.382, 'text': 'Now when you will create an array, it will be indexed on the basis of size.', 'start': 262.116, 'duration': 4.266}, {'end': 268.084, 'text': "Let's say the size is five.", 'start': 266.742, 'duration': 1.342}, {'end': 270.007, 'text': 'So there will be four indexes.', 'start': 268.485, 'duration': 1.522}, {'end': 272.419, 'text': 'So zero to n minus one.', 'start': 270.558, 'duration': 1.861}, {'end': 274.98, 'text': "So it's gonna be zero to four for a size of five.", 'start': 272.619, 'duration': 2.361}, {'end': 280.103, 'text': 'Now every element in an array is accessible through this index.', 'start': 275.381, 'duration': 4.722}], 'summary': 'Creating a 1d array involves defining a reference variable with the new operator and specifying the size, e.g., new integer 5 creates an array of 5 integers, with indexes ranging from 0 to 4.', 'duration': 45.51, 'max_score': 234.593, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/TmM9XAIKa-Y/pics/TmM9XAIKa-Y234593.jpg'}], 'start': 11.94, 'title': 'Introduction to java arrays', 'summary': 'Introduces java arrays, explaining their purpose, types, and operations, with practical examples, providing a comprehensive overview of this fundamental data structure in java.', 'chapters': [{'end': 366.888, 'start': 11.94, 'title': 'Introduction to java arrays', 'summary': 'Introduces java arrays, explaining the purpose, types, and operations, such as creating and accessing elements, with practical examples.', 'duration': 354.948, 'highlights': ['Java arrays serve as a multi-value container for storing data, ensuring type safety and utilizing contiguous memory locations.', 'Types of arrays include single dimensional (1D) arrays and two-dimensional arrays, providing the ability to store data in rows and collections of collections, respectively.', 'Creating a 1D array involves defining a reference variable, specifying the data type and size, and accessing elements using index notation, with practical examples demonstrating the process.']}], 'duration': 354.948, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/TmM9XAIKa-Y/pics/TmM9XAIKa-Y11940.jpg', 'highlights': ['Java arrays serve as a multi-value container for storing data, ensuring type safety and utilizing contiguous memory locations.', 'Types of arrays include single dimensional (1D) arrays and two-dimensional arrays, providing the ability to store data in rows and collections of collections, respectively.', 'Creating a 1D array involves defining a reference variable, specifying the data type and size, and accessing elements using index notation, with practical examples demonstrating the process.']}, {'end': 1069.863, 'segs': [{'end': 401.4, 'src': 'embed', 'start': 369.537, 'weight': 0, 'content': [{'end': 375.2, 'text': "So we'll begin with why we need arrays and thereafter will process it further, right?", 'start': 369.537, 'duration': 5.663}, {'end': 381.383, 'text': "So I'm going to say arrays with the main method or let's say 1D arrays.", 'start': 375.22, 'duration': 6.163}, {'end': 383.604, 'text': 'the package goes like co.edureka.', 'start': 381.383, 'duration': 2.221}, {'end': 393.789, 'text': 'Now consider you want to store the population of a country, right? So you will have state one.', 'start': 386.826, 'duration': 6.963}, {'end': 398.118, 'text': "Let's say the population count is 502.", 'start': 393.989, 'duration': 4.129}, {'end': 401.4, 'text': 'Same way, you will have some other states coming in.', 'start': 398.118, 'duration': 3.282}], 'summary': 'Introduction to 1d arrays for storing population data in a country.', 'duration': 31.863, 'max_score': 369.537, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/TmM9XAIKa-Y/pics/TmM9XAIKa-Y369537.jpg'}, {'end': 478.689, 'src': 'embed', 'start': 423.032, 'weight': 1, 'content': [{'end': 429.774, 'text': "So when I'm talking about state one, state two, state three, state four, and state five, they are the different states containing the population.", 'start': 423.032, 'duration': 6.742}, {'end': 435.535, 'text': 'So I can say state one population count to be more precise.', 'start': 430.114, 'duration': 5.421}, {'end': 442.137, 'text': 'So considering that these are the different population counts for the different states of a country.', 'start': 436.536, 'duration': 5.601}, {'end': 450.359, 'text': 'So rather than containing these single value containers, what is a solution is to have a multi-value container.', 'start': 442.817, 'duration': 7.542}, {'end': 455.996, 'text': "So how you'll create a multi-value container? So we'll write one integer array.", 'start': 450.74, 'duration': 5.256}, {'end': 458.417, 'text': "So I'll say population.", 'start': 456.236, 'duration': 2.181}, {'end': 471.745, 'text': "I'll just write down this name as state population, which goes like a new integer with five elements, right?", 'start': 459.358, 'duration': 12.387}, {'end': 478.689, 'text': 'So I gave the size myself that this array should have five elements.', 'start': 472.445, 'duration': 6.244}], 'summary': 'Discussing the need for a multi-value container for state populations, creating an integer array with five elements.', 'duration': 55.657, 'max_score': 423.032, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/TmM9XAIKa-Y/pics/TmM9XAIKa-Y423032.jpg'}, {'end': 964.839, 'src': 'embed', 'start': 931.463, 'weight': 6, 'content': [{'end': 938.987, 'text': 'We can even perform a write or update operation, but everything happens with the help of indexing right?', 'start': 931.463, 'duration': 7.524}, {'end': 943.39, 'text': 'So there is one more way to read the array in Java.', 'start': 939.347, 'duration': 4.043}, {'end': 949.953, 'text': "So that's like your enhanced for loop or sometimes we call it as for each loop.", 'start': 943.49, 'duration': 6.463}, {'end': 952.434, 'text': 'So any name can be given to this guy.', 'start': 950.373, 'duration': 2.061}, {'end': 963.298, 'text': 'So you say for int any element in your country population array you say print me the element.', 'start': 952.875, 'duration': 10.423}, {'end': 964.839, 'text': 'So you run the code here.', 'start': 963.738, 'duration': 1.101}], 'summary': 'In java, indexing is used for write/update operations; an alternative is the enhanced for loop, allowing iteration through an array.', 'duration': 33.376, 'max_score': 931.463, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/TmM9XAIKa-Y/pics/TmM9XAIKa-Y931463.jpg'}, {'end': 1076.878, 'src': 'embed', 'start': 1047.151, 'weight': 4, 'content': [{'end': 1051.614, 'text': "It's like a lot of time-consuming thing as in development effort is highly reduced.", 'start': 1047.151, 'duration': 4.463}, {'end': 1061.979, 'text': 'So having this one liner where you just mention all the population counts and having a loop as couple of lines and summing up the entire population.', 'start': 1052.294, 'duration': 9.685}, {'end': 1069.863, 'text': 'So when data is having more dimensions, so you need to focus on array right?', 'start': 1062.659, 'duration': 7.204}, {'end': 1076.878, 'text': 'So solving the problems where you have a lot of data, so you structure it in a better way and arrays.', 'start': 1070.413, 'duration': 6.465}], 'summary': 'Efficient development with reduced effort by using arrays for handling large volumes of multidimensional data.', 'duration': 29.727, 'max_score': 1047.151, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/TmM9XAIKa-Y/pics/TmM9XAIKa-Y1047151.jpg'}], 'start': 369.537, 'title': 'Java arrays and operations', 'summary': 'Covers the basics of 1d arrays in java, emphasizing the need for arrays and their advantages, illustrated with an example of population counts. it also explains array creation, manipulation, and the benefits of efficient data handling in java using arrays.', 'chapters': [{'end': 442.137, 'start': 369.537, 'title': 'Arrays in java basics', 'summary': 'Introduces the concept of 1d arrays in java, highlighting the need for arrays and the limitations of single value containers, using the example of storing population counts for different states of a country.', 'duration': 72.6, 'highlights': ['Arrays are introduced as the main method for storing and processing data, specifically 1D arrays.', 'Demonstrates the need for arrays by highlighting the limitations of single value containers when storing population counts for different states of a country.', 'Illustrates the concept using the example of storing population counts for different states of a country.']}, {'end': 1069.863, 'start': 442.817, 'title': 'Java array operations', 'summary': 'Explains the creation of a multi-value container using an integer array, reading and updating array elements, utilizing enhanced for loop, and the advantage of using arrays for efficient data handling in java.', 'duration': 627.046, 'highlights': ['Utilizing integer array to create a multi-value container The chapter explains the creation of a multi-value container using an integer array, with the example of creating a country population array with default values and updating the array with specific population counts.', 'Reading and updating array elements The chapter demonstrates reading and updating array elements, showcasing how to read single elements, read all elements using a for loop, and perform write or update operations on array elements.', 'Utilizing enhanced for loop for array traversal and calculation The chapter introduces the use of an enhanced for loop for array traversal and calculation, demonstrating how to calculate the total population count using the enhanced for loop and highlighting its efficiency for handling large datasets.', 'Advantage of using arrays for efficient data handling in Java The chapter emphasizes the advantage of using arrays for efficient data handling, particularly in scenarios involving multiple dimensions and a large number of states, where arrays offer a streamlined approach for data manipulation and summation.']}], 'duration': 700.326, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/TmM9XAIKa-Y/pics/TmM9XAIKa-Y369537.jpg', 'highlights': ['Arrays are introduced as the main method for storing and processing data, specifically 1D arrays.', 'Demonstrates the need for arrays by highlighting the limitations of single value containers when storing population counts for different states of a country.', 'Illustrates the concept using the example of storing population counts for different states of a country.', 'Advantage of using arrays for efficient data handling in Java The chapter emphasizes the advantage of using arrays for efficient data handling, particularly in scenarios involving multiple dimensions and a large number of states, where arrays offer a streamlined approach for data manipulation and summation.', 'Utilizing enhanced for loop for array traversal and calculation The chapter introduces the use of an enhanced for loop for array traversal and calculation, demonstrating how to calculate the total population count using the enhanced for loop and highlighting its efficiency for handling large datasets.', 'Utilizing integer array to create a multi-value container The chapter explains the creation of a multi-value container using an integer array, with the example of creating a country population array with default values and updating the array with specific population counts.', 'Reading and updating array elements The chapter demonstrates reading and updating array elements, showcasing how to read single elements, read all elements using a for loop, and perform write or update operations on array elements.']}, {'end': 1447.714, 'segs': [{'end': 1097.656, 'src': 'embed', 'start': 1070.413, 'weight': 0, 'content': [{'end': 1076.878, 'text': 'So solving the problems where you have a lot of data, so you structure it in a better way and arrays.', 'start': 1070.413, 'duration': 6.465}, {'end': 1082.683, 'text': 'They are one of the most easiest data structures to use in your software solutions.', 'start': 1077.079, 'duration': 5.604}, {'end': 1086.987, 'text': "So with this let's now move to the next part.", 'start': 1083.404, 'duration': 3.583}, {'end': 1091.211, 'text': 'So the next part is working with two-dimensional arrays right?', 'start': 1087.587, 'duration': 3.624}, {'end': 1094.593, 'text': 'So, guys, we call them array of arrays right?', 'start': 1091.511, 'duration': 3.082}, {'end': 1097.656, 'text': 'So here we mentioned the row and column.', 'start': 1095.114, 'duration': 2.542}], 'summary': 'Using arrays to structure and organize data for software solutions, including two-dimensional arrays.', 'duration': 27.243, 'max_score': 1070.413, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/TmM9XAIKa-Y/pics/TmM9XAIKa-Y1070413.jpg'}, {'end': 1177.502, 'src': 'embed', 'start': 1122.935, 'weight': 2, 'content': [{'end': 1133.504, 'text': 'So this is like zeroth arrays zeroth element zeroth arrays first element same way first arrays zeroth element first arrays first element.', 'start': 1122.935, 'duration': 10.569}, {'end': 1138.127, 'text': 'So if you want to access you can say 0 0 is 100.', 'start': 1134.044, 'duration': 4.083}, {'end': 1144.512, 'text': 'So zeroth arrays zeroth element, right? So you put the data so same way you can put the data for the other elements.', 'start': 1138.127, 'duration': 6.385}, {'end': 1152.222, 'text': 'Now if you want You can access any element in a 2D array by mentioning its indexes.', 'start': 1145.233, 'duration': 6.989}, {'end': 1162.508, 'text': "And if you want to update the data, it's again on the basis of indexing, right? So guys, let us try to have one example on 2D arrays.", 'start': 1152.862, 'duration': 9.646}, {'end': 1165.07, 'text': "So I'm going to write one new class.", 'start': 1163.349, 'duration': 1.721}, {'end': 1169.633, 'text': "Let's say 2D arrays with the main method.", 'start': 1166.211, 'duration': 3.422}, {'end': 1175.181, 'text': "So to begin with I'll just say in two brackets.", 'start': 1171.778, 'duration': 3.403}, {'end': 1177.502, 'text': "I'm going to say world population.", 'start': 1175.601, 'duration': 1.901}], 'summary': 'Access and update 2d array elements with indexing. create a new class for 2d arrays.', 'duration': 54.567, 'max_score': 1122.935, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/TmM9XAIKa-Y/pics/TmM9XAIKa-Y1122935.jpg'}, {'end': 1330.903, 'src': 'embed', 'start': 1299.527, 'weight': 5, 'content': [{'end': 1306.352, 'text': "dot length, or let's say, and length is now when I will run this code a as Java application.", 'start': 1299.527, 'duration': 6.825}, {'end': 1314.26, 'text': "So what you will see is that it's an array of arrays at a hash code, right? and the length is three.", 'start': 1306.392, 'duration': 7.868}, {'end': 1316.981, 'text': 'So I got this guy called world population.', 'start': 1314.62, 'duration': 2.361}, {'end': 1320.081, 'text': "So I'm just gonna take this another example here.", 'start': 1317.481, 'duration': 2.6}, {'end': 1330.903, 'text': 'So we got this guy as world population 785E2922 some hash code.', 'start': 1321.101, 'duration': 9.802}], 'summary': 'The array of arrays has a length of three, with an example of world population 785e2922 hash code.', 'duration': 31.376, 'max_score': 1299.527, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/TmM9XAIKa-Y/pics/TmM9XAIKa-Y1299527.jpg'}], 'start': 1070.413, 'title': '2d arrays in software solutions', 'summary': 'Discusses the use of 2d arrays in software solutions, emphasizing their simplicity, ability to represent matrices, and concept of arrays of arrays, and explains accessing elements, updating data based on indexing, and representing world population in a 2d array.', 'chapters': [{'end': 1122.435, 'start': 1070.413, 'title': 'Two-dimensional arrays in software solutions', 'summary': 'Discusses the use of two-dimensional arrays in software solutions, emphasizing their simplicity and ability to represent matrices, and highlighting the concept of arrays of arrays and their structure.', 'duration': 52.022, 'highlights': ['Two-dimensional arrays are one of the most easiest data structures to use in software solutions, simplifying the organization of large amounts of data.', 'The concept of two-dimensional arrays involves an array of arrays, where the first element represents the number of 1D arrays and the second element represents the number of elements in each 1D array.']}, {'end': 1447.714, 'start': 1122.935, 'title': '2d arrays and indexing', 'summary': 'Explains the concept of 2d arrays, accessing elements by indices, updating data based on indexing, and representing world population in a 2d array with specific examples, and discusses the lengths and hash codes of the arrays.', 'duration': 324.779, 'highlights': ['The chapter explains the concept of 2D arrays and accessing elements by indices. It discusses accessing elements in a 2D array by mentioning their indexes.', 'The chapter discusses updating data in a 2D array based on indexing. It explains updating data in a 2D array using indexing.', 'The chapter elaborates on representing world population in a 2D array with specific examples. It provides a specific example of representing world population in a 2D array, including the representation of countries and states.', 'The chapter discusses the lengths and hash codes of the arrays representing world population. It explains the lengths and hash codes of the arrays representing world population, with specific examples and values.']}], 'duration': 377.301, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/TmM9XAIKa-Y/pics/TmM9XAIKa-Y1070413.jpg', 'highlights': ['Two-dimensional arrays simplify organizing large data.', '2D arrays involve an array of arrays, representing 1D arrays and their elements.', 'Explains accessing elements in a 2D array using indexes.', 'Explains updating data in a 2D array using indexing.', 'Provides specific example of representing world population in a 2D array.', 'Explains lengths and hash codes of arrays representing world population.']}, {'end': 1701.689, 'segs': [{'end': 1578.342, 'src': 'embed', 'start': 1482.657, 'weight': 0, 'content': [{'end': 1493.26, 'text': 'So 0 index 1 index 2 index then 3 then 4 then 5 and then 6 so on and so forth guys the others as well.', 'start': 1482.657, 'duration': 10.603}, {'end': 1503.183, 'text': "So if you say world population zeroth arrays first element, it's going to be 4 5 6 7.", 'start': 1493.781, 'duration': 9.402}, {'end': 1520.913, 'text': "So that is how if I come here and if I say please print me world population Let's say 0th array is 0th element, right? So world population 0 0.", 'start': 1503.184, 'duration': 17.729}, {'end': 1525.734, 'text': 'You run this code here and what you get to see is 1 2 3 4.', 'start': 1520.913, 'duration': 4.821}, {'end': 1527.676, 'text': 'So, guys, I hope you understood this point right?', 'start': 1525.735, 'duration': 1.941}, {'end': 1535.639, 'text': 'So when I say 1 and 2, so first array is 0th index, first index, and the second index.', 'start': 1527.696, 'duration': 7.943}, {'end': 1537.539, 'text': "that's like 8, 7, 6, 5..", 'start': 1535.639, 'duration': 1.9}, {'end': 1541.621, 'text': 'So here you are, right? So this is like 1 and 2.', 'start': 1537.54, 'duration': 4.081}, {'end': 1543.622, 'text': 'So anytime you want to read the array.', 'start': 1541.621, 'duration': 2.001}, {'end': 1545.903, 'text': 'So this is like read single element.', 'start': 1543.662, 'duration': 2.241}, {'end': 1549.725, 'text': 'Right? So you want to write the data.', 'start': 1547.544, 'duration': 2.181}, {'end': 1556.789, 'text': 'So write or update they work in the same way, right? So for example, now I will be doing an update operation.', 'start': 1550.866, 'duration': 5.923}, {'end': 1565.334, 'text': "So I'll see world population of one and two is some number all sevens.", 'start': 1556.889, 'duration': 8.445}, {'end': 1574.859, 'text': "So you say see so rereading And now when I will do a reread operation here, so let's run this code.", 'start': 1566.174, 'duration': 8.685}, {'end': 1578.342, 'text': 'So here you are with the number all sevens.', 'start': 1575.86, 'duration': 2.482}], 'summary': 'Explanation of indexing and array operations with numerical examples.', 'duration': 95.685, 'max_score': 1482.657, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/TmM9XAIKa-Y/pics/TmM9XAIKa-Y1482657.jpg'}], 'start': 1448.555, 'title': 'Arrays in programming', 'summary': 'Discusses the concept of array of arrays and demonstrates how to access and manipulate data within the nested arrays. additionally, it explains how to perform update, read, and print operations on a 2d array in java, along with the creation of 1d arrays and their default values.', 'chapters': [{'end': 1549.725, 'start': 1448.555, 'title': 'Understanding array of arrays', 'summary': 'Discusses the concept of array of arrays and demonstrates how to access and manipulate data within the nested arrays, with an example of world population data and its indexing.', 'duration': 101.17, 'highlights': ['The concept being discussed is array of arrays, which is demonstrated using the example of world population data.', "The data within the nested arrays can be accessed using indexing, for example, accessing the 0th array's 0th element yields the value 1.", "The example illustrates the process of accessing and reading single elements within the array, such as accessing the 0th array's 1st and 2nd elements, which are 8 and 7 respectively."]}, {'end': 1637.888, 'start': 1550.866, 'title': 'Working with 2d arrays', 'summary': 'Explains how to perform update, read, and print operations on a 2d array in java, showcasing an example of updating and reading a 2d array and iterating through its elements.', 'duration': 87.022, 'highlights': ['The chapter demonstrates an update operation on a 2D array, showcasing the process of updating specific elements and printing the updated 2D array.', 'It explains the process of performing a read operation on a 2D array and iterating through its elements using nested loops, providing a clear example of how to access and print the entire 2D array.', 'The example illustrates the use of nested loops to iterate through a 2D array, providing a clear explanation of how to access and print the elements of the array.']}, {'end': 1701.689, 'start': 1638.089, 'title': 'Understanding arrays in programming', 'summary': 'Discusses the creation of 1d arrays with specific sizes, highlighting how not specifying the size results in default values of 0, demonstrating the fundamental concept of arrays in programming.', 'duration': 63.6, 'highlights': ['The default values of 0 are assigned to the array elements when the size is specified, as demonstrated by creating 3 1D arrays with 5 elements each.', 'Explains that not specifying the size of the array results in default values of 0, exemplifying the fundamental concept of arrays in programming.']}], 'duration': 253.134, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/TmM9XAIKa-Y/pics/TmM9XAIKa-Y1448555.jpg', 'highlights': ["The example illustrates the process of accessing and reading single elements within the array, such as accessing the 0th array's 1st and 2nd elements, which are 8 and 7 respectively.", 'The chapter demonstrates an update operation on a 2D array, showcasing the process of updating specific elements and printing the updated 2D array.', 'The default values of 0 are assigned to the array elements when the size is specified, as demonstrated by creating 3 1D arrays with 5 elements each.']}, {'end': 1967.039, 'segs': [{'end': 1733.899, 'src': 'embed', 'start': 1701.689, 'weight': 0, 'content': [{'end': 1712.459, 'text': 'So this is how we are understanding this guy array, right? So giving data first we need not to give any size.', 'start': 1701.689, 'duration': 10.77}, {'end': 1720.883, 'text': "So that's like the thumb room and guys explore enhanced for loop on 2d arrays.", 'start': 1712.559, 'duration': 8.324}, {'end': 1729.095, 'text': 'right. so explore that how you can convert this nested for loop with the help of enhanced for loop right, so that you guys explore.', 'start': 1721.61, 'duration': 7.485}, {'end': 1733.899, 'text': 'so this is how we got something known as two-dimensional arrays.', 'start': 1729.095, 'duration': 4.804}], 'summary': 'Exploring 2d arrays and enhanced for loops.', 'duration': 32.21, 'max_score': 1701.689, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/TmM9XAIKa-Y/pics/TmM9XAIKa-Y1701689.jpg'}, {'end': 1791.891, 'src': 'embed', 'start': 1757.957, 'weight': 1, 'content': [{'end': 1761.52, 'text': "So let's take a problem statement here to add to arrays.", 'start': 1757.957, 'duration': 3.563}, {'end': 1773.95, 'text': "So I'll write one 2D array called a, which goes like the first array having one, one and one.", 'start': 1764.822, 'duration': 9.128}, {'end': 1776.652, 'text': "so I'll have all the values as ones right?", 'start': 1773.95, 'duration': 2.702}, {'end': 1781.765, 'text': "So, same way, I'm going to have the other guy called B.", 'start': 1777.483, 'duration': 4.282}, {'end': 1785.647, 'text': "So this array B I'm going to have the values as twos.", 'start': 1781.765, 'duration': 3.882}, {'end': 1791.891, 'text': "So it's a three cross three matrix representation three rows and three columns.", 'start': 1787.388, 'duration': 4.503}], 'summary': 'Creating 3x3 2d arrays a with all ones and b with all twos.', 'duration': 33.934, 'max_score': 1757.957, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/TmM9XAIKa-Y/pics/TmM9XAIKa-Y1757957.jpg'}, {'end': 1959.971, 'src': 'embed', 'start': 1922.213, 'weight': 2, 'content': [{'end': 1929.015, 'text': 'so arrays, they can solve a lot of problems for us, right, and this is what we got, as in the part one.', 'start': 1922.213, 'duration': 6.802}, {'end': 1936.576, 'text': 'so in our next part we shall be discussing on what is sorting and searching in arrays.', 'start': 1929.015, 'duration': 7.561}, {'end': 1938.357, 'text': 'so that would be all from my side, guys.', 'start': 1936.576, 'duration': 1.781}, {'end': 1940.057, 'text': 'thank you so very much once again.', 'start': 1938.357, 'duration': 1.7}, {'end': 1948.519, 'text': 'this is ishan on behalf of edureka, and do like our facebook page and do subscribe to our youtube channels in case you have enjoyed the videos.', 'start': 1940.057, 'duration': 8.462}, {'end': 1949.079, 'text': 'thank you, guys.', 'start': 1948.519, 'duration': 0.56}, {'end': 1952.022, 'text': 'I hope you have enjoyed listening to this video.', 'start': 1949.879, 'duration': 2.143}, {'end': 1959.971, 'text': 'Please be kind enough to like it and you can comment any of your doubts and queries and we will reply them at the earliest.', 'start': 1952.382, 'duration': 7.589}], 'summary': 'Arrays can solve a lot of problems. next, sorting and searching in arrays will be discussed.', 'duration': 37.758, 'max_score': 1922.213, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/TmM9XAIKa-Y/pics/TmM9XAIKa-Y1922213.jpg'}], 'start': 1701.689, 'title': '2d array manipulation and matrix operations', 'summary': "Introduces 2d arrays, enhanced for loop on 2d arrays, and matrix addition, providing specific examples and code demonstrations. it also covers adding two 3x3 matrices resulting in a matrix with all elements equal to 3, and emphasizes the significance of arrays in problem-solving. additionally, it discusses edureka's social media promotion strategy, focusing on expanding audience reach and increasing user engagement through facebook and youtube.", 'chapters': [{'end': 1859.445, 'start': 1701.689, 'title': '2d array manipulation and matrix operations', 'summary': 'Introduces the concept of 2d arrays, exploring enhanced for loop on 2d arrays and performing operations like addition on matrices, with specific examples and code demonstrations.', 'duration': 157.756, 'highlights': ['The chapter covers the concept of 2D arrays and explores enhanced for loop on 2D arrays.', 'It demonstrates performing addition operations on 3x3 matrices represented by 2D arrays, with specific values for each array element.', 'The code demonstrations illustrate the printing of the two matrices using nested for loops and accessing elements in the 2D array representation.']}, {'end': 1940.057, 'start': 1859.585, 'title': 'Matrix addition operation', 'summary': 'Covers the process of adding two matrices of 3x3 dimensions using a loop and array elements, resulting in a matrix with all elements equal to 3. it emphasizes the significance of arrays in solving problems and hints at the upcoming discussion on sorting and searching in arrays.', 'duration': 80.472, 'highlights': ['The process of adding two 3x3 matrices using a loop and array elements is explained, resulting in a matrix with all elements equal to 3.', 'Emphasizes the significance of arrays in solving problems.', 'Hints at the upcoming discussion on sorting and searching in arrays.']}, {'end': 1967.039, 'start': 1940.057, 'title': 'Edureka social media promotion', 'summary': "Discusses edureka's social media promotion strategy, emphasizing the importance of liking, subscribing, and engaging with their content on facebook and youtube to expand their audience reach and increase user engagement.", 'duration': 26.982, 'highlights': ['Edureka emphasizes the significance of liking their Facebook page and subscribing to their YouTube channels to expand their audience reach and increase user engagement.', 'Encourages viewers to comment their doubts and queries, promising prompt replies to enhance user engagement and interaction.', "Urges viewers to look out for more videos in their playlist and subscribe to Edureka's channel, fostering a continuous learning environment."]}], 'duration': 265.35, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/TmM9XAIKa-Y/pics/TmM9XAIKa-Y1701689.jpg', 'highlights': ['The chapter covers the concept of 2D arrays and explores enhanced for loop on 2D arrays.', 'The process of adding two 3x3 matrices using a loop and array elements is explained, resulting in a matrix with all elements equal to 3.', 'Emphasizes the significance of arrays in solving problems.', 'Edureka emphasizes the significance of liking their Facebook page and subscribing to their YouTube channels to expand their audience reach and increase user engagement.']}], 'highlights': ['Java arrays serve as a multi-value container for storing data, ensuring type safety and utilizing contiguous memory locations.', 'Types of arrays include single dimensional (1D) arrays and two-dimensional arrays, providing the ability to store data in rows and collections of collections, respectively.', 'Two-dimensional arrays simplify organizing large data.', 'Explains accessing elements in a 2D array using indexes.', 'Explains updating data in a 2D array using indexing.', 'The process of adding two 3x3 matrices using a loop and array elements is explained, resulting in a matrix with all elements equal to 3.']}