Lecture 28 Arrays in Java Hindi

Поделиться
HTML-код
  • Опубликовано: 31 дек 2024

Комментарии • 153

  • @SmartProgramming
    @SmartProgramming 6 лет назад +34

    way of explanation is good, thank you sir 🙂

    • @mdsharique2386
      @mdsharique2386 2 года назад +2

      Did you learn from him?

    • @drexex0f
      @drexex0f Год назад +3

      ​@@mdsharique2386 may be or he may watching how he teaches 😂

  • @abhishekjadoun7562
    @abhishekjadoun7562 6 лет назад +16

    Sir, your videos are very helpful. Thank you sir for providing these Educational videos 🙏🙏.
    You are inspiration for us !!

  • @anurgaprasad123
    @anurgaprasad123 8 лет назад +9

    thank goodness I learnt how to understand hindi when i was young!
    I am not understanding the concept of arrays hopefully this video clears it up!

  • @anilkushwahaji5788
    @anilkushwahaji5788 8 лет назад +4

    sir you are very nice becoz you are providing student awareness

  • @meenakshiyadav7471
    @meenakshiyadav7471 3 года назад +1

    Thanku so much sir for explaining the topics very well. We all needs the teachers like you🙂🙂

  • @geetamunjal5121
    @geetamunjal5121 5 лет назад +3

    thanku so much sir, you teaches each and everything in a very deep manner.that's why i am able to clear my concept .

  • @riyapallavi4084
    @riyapallavi4084 4 года назад

    Yeah, actually all concept are clear. Thanks sir for all the java video's, bcoz this tym it is very helpful for me...

  • @MCA-KNOWLEDGE
    @MCA-KNOWLEDGE 3 года назад

    You and sharad sir, are best teacher of my life

  • @chaudharyashisharun1581
    @chaudharyashisharun1581 9 лет назад +8

    When you will explain Array in Detail
    & When you will explain Multithread in Java?
    Because you use to explain each and every concept in easy and in detail.
    So, I really love your videos.

    • @-GCET--hu5jg
      @-GCET--hu5jg 6 лет назад

      .

    • @RohitYadav-io8tl
      @RohitYadav-io8tl 6 лет назад

      technolgydrift.blogspot.com/2018/07/programming-language-java-about-java.html

  • @_hulk748
    @_hulk748 Год назад

    Great Explanation Sir🙏🙇‍♂

  • @meghachoudhary2867
    @meghachoudhary2867 2 года назад

    Thank you sooo much sir for being the part of my life
    Whatever I got is just because of you😁❤️

  • @ayushdon4259
    @ayushdon4259 4 года назад +1

    So much thank u sir........sir I want chapter 2 of computer of class 10 icse

  • @owaisekhan2129
    @owaisekhan2129 4 года назад

    amazing explanation sir don't need to read book nice explanationn

  • @shailendrapratapsingh4967
    @shailendrapratapsingh4967 3 года назад +1

    Wow 🙏

  • @zaheerahmad2653
    @zaheerahmad2653 9 лет назад +5

    Sir,I am totally depend on you for core java and advance java because its be best for me to learn.it is better than coaching. please just upload all videos so that i could learn and develop application in java.sir please teach me database connectivity also. Thanks sir

  • @faisalraza6953
    @faisalraza6953 5 лет назад +1

    Sir why you are not using any IDE like Netbeans or Eclipse, coz of that I have to refer another video, else your videos are more self-explanatory and well explained as everyone can understand easily without any constraint. I am new to programming and found your videos helpful, kindly suggest us if we apply your codes into eclipse sam time as I have installed it.

  • @ishsingh8802
    @ishsingh8802 7 лет назад

    sir solve this, please
    Q: You have an array with N elements. Initially ,each element is 0. you can perform the following operations.
    . Increment operation: choose one element of the array and increment the value by one .
    . Doubling operation: Double the value of each element.
    you are given a int[] desired Array containing N elements. compute and return the smallest possible number of operating need to change the array from all Zeros to desired Array.
    Sample test case:
    input {2,1}
    output: 3
    one of the optional solution is to apply increment operation to element 0 twice and then element 1 once. total number of operation is 3.
    input {16,16,16}
    output: 7
    The optimum solution looks as follows first, apply an increment operations to each element.
    Then apply the doubling operation four times , total number of operations is 3+4=7 .
    input: {0,0,1,0,1}
    output: 2
    some elements in desired Array may be Zeros.
    input:{123,234,345,456,567,789}
    output: 40 .

  • @shobhikpaul1607
    @shobhikpaul1607 7 лет назад

    Sir in the last example if we write the print statement in the same loop that of input. will it be wrong?

  • @shivanandvishwakarma3000
    @shivanandvishwakarma3000 3 года назад

    At 11:00, error is that it is, "new" keyword is not used to make array. It's just only reference variable and below two lines will give error.

  • @raushanday4658
    @raushanday4658 3 года назад

    Array ke size se jyada element input kar sakte hai ya nahi.

  • @amitzerikunthe7635
    @amitzerikunthe7635 2 года назад

    Sir why u r using 2 for loops in the last example???

  • @ravindra0295
    @ravindra0295 8 лет назад

    fantastic sir... please upload collection concepts repleted videos.

  • @kuldeepd8112
    @kuldeepd8112 4 года назад

    Can reference variable of small size array point to large size array? If yes, why?

  • @ifad9126
    @ifad9126 4 года назад +1

    Student[] studentArray = new Student[7];
    It is also same or Different from which you explain .I am confused.

  • @mukeshkumar-dp2lo
    @mukeshkumar-dp2lo 5 лет назад

    very nice video, good explanation.

  • @kartikpandey2685
    @kartikpandey2685 8 лет назад +1

    Sir..plz upload ur videos on java Advance

  • @Raksh96
    @Raksh96 6 лет назад

    Sir u r awesome teacher

  • @raghavaggarwal8644
    @raghavaggarwal8644 5 лет назад

    Can we use access modifiers with array?

  • @SakshiSingh-tq9lb
    @SakshiSingh-tq9lb 6 лет назад

    searching and sorting bhi explain kar deejiye please sir

  • @Saurav_kumar_0712
    @Saurav_kumar_0712 4 года назад

    sir make different videos on array programs in java

  • @rafiyamajeed1102
    @rafiyamajeed1102 4 года назад

    Its very helpful,

  • @anishverma7765
    @anishverma7765 5 лет назад

    awesome sir

  • @jayapreetkaur3841
    @jayapreetkaur3841 6 лет назад

    Hello, I am stuck at a place where we have to use Arrays.toString ()and Arrays.sort() here Array must be a class because its initial is in capital iske alawa kaunse methods hote hain array class mein . I cant find the place where i can study all these things as i am finding my self very low while creating logic in java programs. Please help me out.

  • @sumiabakar4975
    @sumiabakar4975 7 лет назад +2

    Sir, arr["+I+"].........in print()........I don't understand the syntax

    • @rezaahmed1986
      @rezaahmed1986 7 лет назад +2

      SOP(" i want to print");
      1.just try to understand wen you write something that want to print should be in between SOP(" ");
      2.but lets say if u want to input and print any variable in beginning we write SOP (var+".... " );
      3.if u want to input and print any variable at the end we write SOP(var+".... " );
      4.combining beginning and end SOP(var+ " " +var);
      but we want to input var in between( e.g. Var X i = result (2*1=2....2*2=4..- where 2 is user input and i is variable and 4 is the result.....) then that var should be in " " of its own beside " " of as a whole shown in line 1 above let say variable you wanna print is X and Y but you want write like THE VALUE OF X * Y =Result
      (" THE VALUE OF X * Y = " +Result)
      then put " " for individual variable only i.e.
      (" THE VALUE OF " X " * " Y" = " +Result);--------> "X" and "Y" this is extra we did rest are the same
      note: inverted comma is to be placed additional that we either input is changing

  • @sonali2026
    @sonali2026 8 лет назад +2

    sir, last line me println ke baad jo likha he use Sam ja dijiye ki usse kya ho Ra he
    thankyu

    • @mohammadshahrukh4652
      @mohammadshahrukh4652 7 лет назад

      Enter 5 numbers
      1 2 3 4 5
      Output
      arr[0]=1
      arr[1]=2
      arr[2]=3
      arr[3]=4
      arr[4]=5
      Aise print hone k liye waise likha hua h

    • @rezaahmed1986
      @rezaahmed1986 7 лет назад

      SOP(" i want to print");
      1.just try to understand wen you write something that want to print should be in between SOP(" ");
      2.but lets say if u want to input and print any variable in beginning we write SOP (var+".... " );
      3.if u want to input and print any variable at the end we write SOP(var+".... " );
      4.combining beginning and end SOP(var+ " " +var);
      but we want to input var in between( e.g. Var X i = result (2*1=2....2*2=4..- where 2 is user input and i is variable and 4 is the result.....) then that var should be in " " of its own beside " " of as a whole shown in line 1 above let say variable you wanna print is X and Y but you want write like THE VALUE OF X * Y =Result
      (" THE VALUE OF X * Y = " +Result)
      then put " " for individual variable only i.e.
      (" THE VALUE OF " X " * " Y" = " +Result);--------> "X" and "Y" this is extra we did rest are the same
      note: inverted comma is to be placed additional that we either input is changing

  • @lovelymishra8183
    @lovelymishra8183 5 лет назад +1

    Sir I want to join a organization where I can utilize my knowledge and skills plzzzz Help me bcoz I saw a video in which you talk to students which got placed then I think u can help me also....

  • @AzamKhan-mo7qd
    @AzamKhan-mo7qd 6 лет назад +1

    sir please do short program khan from canada

  • @diyakanwar67
    @diyakanwar67 4 года назад

    sir....why we need to creat reference variable oa an array

    • @hackerrank-coder6698
      @hackerrank-coder6698 4 года назад

      beacause we keep adderss of new type array in refrence variable.....

  • @priyasaxena4983
    @priyasaxena4983 6 лет назад +1

    Sir in the slide....initialize declaration u have written arr=new int[3]; which is wrong...it should be arr []= new int [3];...rest all is good...good work and excellent explanation...cleared my concept thoroughly

  • @rupinderkaur3755
    @rupinderkaur3755 2 года назад

    Thanks a lot sir

  • @vikaspandit7030
    @vikaspandit7030 7 лет назад

    Sir Please Upload Lecture On Jagged Array In Java....

  • @sheetalsingh2794
    @sheetalsingh2794 7 лет назад +1

    sir , int arr[]={2,3,4,5,6}; kaise likh sakte hain....isme bhi toh array ko memory nhi mili hai....values kaise de sakte hain ??

    • @simple8810
      @simple8810 7 лет назад

      int arr[]=new{2,3,4,5,6} aisy likhty hai h

    • @sheetalsingh2794
      @sheetalsingh2794 7 лет назад

      check at 09:10 in the video ,,,, sir wrote it as : int arr[]={2,4,6,8,10};

    • @simple8810
      @simple8810 7 лет назад

      i know but it"s wrong we cant write like this in java,,but it is true in C,,,,

    • @SmartProgramming
      @SmartProgramming 6 лет назад

      we can write int[] arr={10,20,30};, it will also allocate memory but not initialize the array by its default values that is 0

  • @aishwariyaparihar6562
    @aishwariyaparihar6562 6 лет назад

    Sir sc.nextInt ka use kya thoda doubt h isme sir please solve

  • @sdsir7263
    @sdsir7263 7 лет назад

    Sir in both for loops you are writing int i why????????? I think only one int is enough in for loop? Please explain

    • @kingfisher8260
      @kingfisher8260 2 года назад

      Value of i will be incremented after the first loop that's why.

  • @rakeshkumar-hz4fy
    @rakeshkumar-hz4fy 6 лет назад

    Sir, if array is char or of other datatype then what value is going to be stored in array?

  • @vishalgupta-ie3ej
    @vishalgupta-ie3ej 5 лет назад

    sir how the compiler know how many data he takes

  • @nilniluzen7013
    @nilniluzen7013 6 лет назад

    can i apply null value in an array

  • @ansarif5165
    @ansarif5165 7 лет назад

    sir i must say that you are worlds best explainer but one thing i want to complain you that why you do not touch important concepts of (composition , aggregation and associations). also in c++. please upload such type of videos. thanks

  • @atuldubey3706
    @atuldubey3706 4 года назад

    THANK YOU SIR UR GREAT

  • @ashutoshshukla650
    @ashutoshshukla650 8 лет назад

    9:11 last one is dynamic or static array?

    • @kanwalpreet8310
      @kanwalpreet8310 8 лет назад

      stackoverflow.com/questions/2814164/differences-between-static-dynamic-data-structures

  • @wasiullah6340
    @wasiullah6340 7 лет назад

    bohoot acha sir but ap array ka 1 album bana k beej dey Thank You Sir

  • @sonampandey6320
    @sonampandey6320 4 года назад

    Sir plis c# me video bna ye kya array similar h c# me bhi

  • @avinashmishra5259
    @avinashmishra5259 8 лет назад

    hello sir,how r u?i would know that why does index always starts from 0..neither 1 nor 2????
    please answer me when you have time..

    • @hamdanali631
      @hamdanali631 7 лет назад

      because in C the array locates a memory in pointers and there array index refer as a offset .

  • @pankajshah1230
    @pankajshah1230 6 лет назад

    Sir lenght variable ka concept samj nhi aaya wo variable automatically kese bann jata hai

  • @jayjeetdarwai200
    @jayjeetdarwai200 5 лет назад

    Sir How to insert char array without deleting older data

  • @bhumit070
    @bhumit070 6 лет назад

    Sir ismein input command line arguments se kaise le

  • @adarshverma3372
    @adarshverma3372 5 лет назад

    int arr[]={1,2,3,4,5} Isn't this declaration becomes static array?

  • @HemantKumar-zr3bo
    @HemantKumar-zr3bo 7 лет назад

    Sir the program is compiled but after running it, says Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException

    • @hamdanali631
      @hamdanali631 7 лет назад +1

      check out your main method again and the values you are giving through console.

  • @rafiyamajeed1102
    @rafiyamajeed1102 4 года назад

    Thank you very munch

  • @harshit3971
    @harshit3971 6 лет назад +1

    sir, array ka main use kya hai. Matlab iska istemal kab karna hain.

  • @swagsworld2772
    @swagsworld2772 8 месяцев назад

    Sir mujhe code trace karne mein aur dry run karne mein problem aati hai mein trace nhi kar pati actually code mein hota kya hai ek suggestion do sir mein kaise is cheez ko improve karun

  • @Ksriyakanojiya
    @Ksriyakanojiya 5 лет назад

    Sir u can explain for each loop

  • @chiragnor9446
    @chiragnor9446 8 лет назад

    sir what is jagged array ? explain in tutorials

  • @v.kgaming5916
    @v.kgaming5916 5 лет назад

    sir array me index 0 se start ku hota hai..

  • @adityajha4665
    @adityajha4665 4 года назад

    thank you sir

  • @akashmangal7873
    @akashmangal7873 5 лет назад

    Sir please tell me best book java

  • @sachingiri4614
    @sachingiri4614 3 года назад

    Variable = default variable ghaitale tar Kai hoeil sir

  • @bareetsingh
    @bareetsingh 5 лет назад

    Thanks Sir.

  • @premrauth8416
    @premrauth8416 3 года назад

    thankyou sir

  • @rahulguptacom-yp5ee
    @rahulguptacom-yp5ee 5 лет назад

    sir iss program me kewal one time hi value store kar raha
    hai

  • @amitdhiman9433
    @amitdhiman9433 7 лет назад

    Sir i am a bit confused in reference variable ..can u please explain dat sir...if you are comfortable

    • @hamdanali631
      @hamdanali631 7 лет назад

      Bro reference variables are those variables which value is static .we cant assign these value again for any object.

    • @Advocate_Parikh
      @Advocate_Parikh 7 лет назад

      reference variables are like a pointer.......which refers object

    • @Advocate_Parikh
      @Advocate_Parikh 7 лет назад

      reference variable need for different instance variables value assign in to object....you can direct call static members...no need to create ref.variable

  • @sangeetbhattacharjee7893
    @sangeetbhattacharjee7893 6 лет назад

    How are you printing the arrays
    Can you plz tell me sir
    I did not understand

    • @nitishnagar1
      @nitishnagar1 5 лет назад

      System.out.println(arr[i]); helps to print array elements in for loop running until the loop reaches the end.

  • @awaisrehman3172
    @awaisrehman3172 7 лет назад

    traversing ka concept samjhayee plzzzzz

  • @nargeesansari6337
    @nargeesansari6337 6 лет назад

    sir mysirg.com pae kuch samjh nhi aa rha ... how to search programms in it

  • @ranvijsybaidhist5540
    @ranvijsybaidhist5540 5 лет назад

    Nice

  • @shubhamdixit632
    @shubhamdixit632 4 года назад

    sir plzz explain last line ,last example in this lecture ....

    • @hapyness
      @hapyness 4 года назад

      his keyboard wasnt working at that time, he knew there is a mistake in last line (+i+) so he had to wrap up quickly

    • @kingfisher8260
      @kingfisher8260 2 года назад

      printing mistake

  • @mithubaisya7565
    @mithubaisya7565 7 лет назад

    After println what have you written?

    • @rezaahmed1986
      @rezaahmed1986 7 лет назад

      SOP(" i want to print");
      1.just try to understand wen you write something that want to print should be in between SOP(" ");
      2.but lets say if u want to input and print any variable in beginning we write SOP (var+".... " );
      3.if u want to input and print any variable at the end we write SOP(var+".... " );
      4.combining beginning and end SOP(var+ " " +var);
      but we want to input var in between( e.g. Var X i = result (2*1=2....2*2=4..- where 2 is user input and i is variable and 4 is the result.....) then that var should be in " " of its own beside " " of as a whole shown in line 1 above let say variable you wanna print is X and Y but you want write like THE VALUE OF X * Y =Result
      (" THE VALUE OF X * Y = " +Result)
      then put " " for individual variable only i.e.
      (" THE VALUE OF " X " * " Y" = " +Result);--------> "X" and "Y" this is extra we did rest are the same
      note: inverted comma is to be placed additional that we either input is changing

  • @raiymamalik7987
    @raiymamalik7987 7 лет назад

    apky program min itny error ku hain plz is program ko execute kr k dikhain

  • @rk_vedi7495
    @rk_vedi7495 6 лет назад

    In line 1 .java.util.Scanner hota h?

  • @wasimbader9170
    @wasimbader9170 9 лет назад +1

    cannot find lecture on scanner, lost in arrays, confused all together, will go through again i guess

  • @rsreejit531
    @rsreejit531 4 года назад

    please explain the last example thouroughly... you just done a formality in that last example...

    • @hapyness
      @hapyness 4 года назад

      his keyboard wasnt working at that time, he knew there is a mistake in last line (+i+) so he had to wrap up quickly

  • @umangverma3660
    @umangverma3660 4 года назад

    As u said array in java always dynamiclly created...
    But at 9:08, the last method seems to be static.....

  • @PRAVINSINGHpaliwaljee
    @PRAVINSINGHpaliwaljee 7 лет назад

    dear sir ek touch pad aata hai jiske sath pen bhi milta hai aap uska use karo padhane ke liye ....

  • @vivekpatel8967
    @vivekpatel8967 5 лет назад

    or Java ke video upload kariye please advance me jaeye aba core Java ke bad

  • @pavanverma3740
    @pavanverma3740 6 лет назад

    Sir 3 error arhi h isme compile nhi ho rha h

  • @poojasingla3208
    @poojasingla3208 4 года назад

    Vse acha pdate ho sir aap bt kbi kbi thda sa confusing ho jata h may b by our mistake or is it 🙄

  • @anujmishra1800
    @anujmishra1800 7 лет назад

    Nice sir

  • @retrogame3138
    @retrogame3138 5 лет назад

    how i show arr[1]=
    arr[2]=
    .
    .
    .
    arrr[5]=
    System.out.println("arr["+ (i+1)+" ]= "+arr[i]); this not working as i want above same

    • @kingfisher8260
      @kingfisher8260 2 года назад

      last line is by mistake

    • @retrogame3138
      @retrogame3138 2 года назад

      @@kingfisher8260 bhai bhut late reply kiye m to ab java bhi bhool gya😂😂😂

    • @kingfisher8260
      @kingfisher8260 2 года назад

      @@retrogame3138 😂🤣

  • @varunvox3349
    @varunvox3349 8 лет назад

    sir can u upload advanced java.and the number what u have given in the screen is not working sir can u provide any other number for contact

  • @gabbarbhaishorts936
    @gabbarbhaishorts936 8 лет назад

    Sir ap na jo ise video me last me program banaya ha us me error ha

    • @Suryarahul25
      @Suryarahul25 4 года назад

      Please declare variable int i;

  • @nirmalpatel3430
    @nirmalpatel3430 8 лет назад

    sir is greaT

  • @shubhamsrivastava8516
    @shubhamsrivastava8516 3 года назад +1

    ye video 5 saal pahle ka h ...... haaye daiya😂

  • @sairaj6644
    @sairaj6644 4 года назад

    can anyone listen to the clock that's ticking in background?

  • @honeyverma2755
    @honeyverma2755 3 года назад

    Sir mein to bolta hun...ki aapse best pure RUclips par koi ni pda skta challenge hai...mera sabhi RUclips channel walo ko dam hai to mysirji jesa pda kar dikho

    • @sarthak8716
      @sarthak8716 3 года назад

      code with harry ! the best youtuber for programming. challenge won😂😂

    • @honeyverma2755
      @honeyverma2755 3 года назад

      @@sarthak8716 ghanta...agr cheezo ko deeply & conceptually smjhna h to...only mysirji

    • @comedycompiler29
      @comedycompiler29 2 года назад

      @@honeyverma2755 ha bhai mysir G is best 👍

  • @vihaansingla7644
    @vihaansingla7644 7 лет назад

    Sir java me SMA nhi hota

  • @hapyness
    @hapyness 4 года назад +1

    i bet his keyboard was broken at the time of making video

  • @aijazalisoomro2879
    @aijazalisoomro2879 7 лет назад

    Please help in this,
    Source code is :
    public class Array {
    public static void main(String[] args) {
    int result[];
    result = new int [4];
    int total=0;
    int i;
    result[0]=51;
    result[1]=50;
    result[2]=54;
    result[3]=72;
    for(i=0; i

    • @Hairbyshivm
      @Hairbyshivm 7 лет назад

      replace the result = new int [4]; with result = new int [3]; you forgot that 0 1 2 3 counts as in 4 elements of an array and you have described 4 as well but when in the FOR condition it goes to check till 4 which in general counts as 5 elements :)

    • @batra204
      @batra204 7 лет назад

      your array is of 4 elements but for loop does 5 iterations so it tries to access the element that is not in the array.

  • @meetajoshi9464
    @meetajoshi9464 6 лет назад

    Ni aya

  • @agustdik3696
    @agustdik3696 6 лет назад

    He don't explain it well 😔😟

  • @shubhamsrivastava8516
    @shubhamsrivastava8516 3 года назад +1

    bhai smjh nhi aaya 😅🤨🤨😑😑😑😶😶🙄🙄😣😣🥱🥱😫☹😲☹😤😱😱😱