#27 Need of an Array in Java

Telusko
Telusko
117.5 هزار بار بازدید - 2 سال پیش - Check out our courses: Enterprise
Check out our courses: Enterprise Java Spring Microservices: https://go.telusko.com/enterpriseJava Coupon: TELUSKO10 (10% Discount) Master Java Spring Development : https://bit.ly/java-spring-cloud Coupon: TELUSKO20 (20% Discount) Udemy Courses: Java:- https://bit.ly/JavaUdemyTelusko Spring:- https://bit.ly/SpringUdemyTelusko Java For Programmers:- https://bit.ly/javaProgrammers For More Queries WhatsApp or Call on : +919008963671 website : https://courses.telusko.com/ In this lecture we are discussing: 1)What is an Array ? 2)Why do we need array? 3)Simple variable declaration vs Array variable declaration #1 -- An array is collection of similar type of data and store in contagious memory. -- e.g marks is collection of different marks obtained by 4 student then {24,25,26,27} is that marks then this marks store in contagious manner in memory. #2 Why so we need array? -- suppose we want to create five variable for student marks -- int m1=24; int m2=25; int m3=26; int m4=27; int m5=28; -- it is quite tedious to store multiple value in multiple variable and remember the marks. -- now one reason is that to create single variable which can store multiple value and access by its index. #3 Simple variable declaration vs Array variable declaration -- for creating normal variable int num; boolean result=true; -- for creating array variable int nums []; or int []nums; -- both are acceptable to declare array variable Github repo : https://github.com/navinreddy20/Javacode.git Java:- https://bit.ly/JavaUdemyTelusko Spring:- https://bit.ly/SpringUdemyTelusko More Learning : Java :- https://bit.ly/3x6rr0N Python :- https://bit.ly/3GRc7JX Django :- https://bit.ly/3MmoJK6 JavaScript :- https://bit.ly/3tiAlHo Node JS :- https://bit.ly/3GT4liq Rest Api :-https://bit.ly/3MjhZwt Servlet :- https://bit.ly/3Q7eA7k Spring Framework :- https://bit.ly/3xi7buh Design Patterns in Java :- https://bit.ly/3MocXiq Docker :- https://bit.ly/3xjWzLA Blockchain Tutorial :- https://bit.ly/3NSbOkc Corda Tutorial:- https://bit.ly/3thbUKa Hyperledger Fabric :- https://bit.ly/38RZCRB NoSQL Tutorial :- https://bit.ly/3aJpRuc Mysql Tutorial :- https://bit.ly/3thpr4L Data Structures using Java :- https://bit.ly/3MuJa7S Git Tutorial :- https://bit.ly/3NXyCPu Donation: PayPal Id : navinreddy20 https://www.telusko.com/
2 سال پیش در تاریخ 1401/10/28 منتشر شده است.
117,525 بـار بازدید شده
... بیشتر