Core Java with OCJP/SCJP: Language Fundamentals Part-6 || Arrays Part-1

Поделиться
HTML-код
  • Опубликовано: 7 сен 2024
  • • Core Java with OCJP/SC...

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

  • @comedyhits2967
    @comedyhits2967 Год назад +79

    Arrays
    1) introduction
    2) Array Declaration
    3) Array Creation
    4) Array Initialization
    5) Array declaration, Creation & initialization in a single line
    6) lenght vs lenght()
    7) Anonymous Array
    8) array elements assignment
    9) Array Variable assignment
    Introduction
    an array is an indexed collection of a fixed number of homogeneous data elements
    the main advantage of arrays is we can represent a huge number of values by using a single variable so that the readability of the code will be improved but the main disadvantage of arrays are
    fixed in size that is once we create an array there is no chance of increasing or decreasing the size based on our requirement hence to use the arrays concept compulsory we should
    know the size in advance, which may not possible always.
    Array Declaration
    one-dimensional array declaration
    int[] x; valid best practice recommended because the name is clearly separated from the type
    int []x; valid
    int x[]; valid
    at the time of declaration, we can't specify the size otherwise we will get a compile-time error
    int[6] x; invalid
    int[] x; valid
    two-dimensional array declaration
    int[][] x; valid
    int [][]x; valid
    int x[][]; valid
    int[] []x; valid
    int[] x[]; valid
    int []x[]; valid
    which of the following is valid
    int[] a,b; valid a= 1 b= 1 dimensional
    int[] a[],b; valid a=2 b=1 dimensional
    int[] a[],b[]; valid a=2 b=2 dimensional
    int[] []a,b; valid a=2,b=2 dimensional
    int[] []a,b[]; valid a=2,b=3 dimensional
    int[] []a,[]b; invalid if we want to specify dimensional before the variable that facility is applicable only for 1st variable in a declaration
    if we are trying to apply for the remaining variables we will get a compile-time error
    int[] []a,[]b,[]c; a is valid b is invalid c is invalid
    3-dimensional array declaration
    int[][][] a;
    int [][][]a;
    int a[][][];
    int[] [][]a;
    int[] a[][];
    int[] []a[];
    int[][] []a;
    int[][] a[];
    int [][]a[];
    int []a[][]; these all are valid
    Array creation
    every array in java is an object only hence we can create arrays by using a new operator
    int[] a=new int[3];
    for every array type corresponding classes are available and these classes are part of the java language and not available to the program level
    example
    class Test{
    public static void main(String[] args){
    int[] x= new int[3];
    System.out.println(x.getclass().getName()); //[I
    }
    }
    array, corresponding class name
    int[] [I
    int[][] [[I
    double[] [D
    short[] [S
    byte[] [B
    boolean[] [Z
    loopholes for creating arrays
    1) at the time of array creation compulsory we should specify the size otherwise we will get compile time error
    int[] x=new int[]; invalid
    int[] x=new int[6]; valid

    2) it is legal to have an array with size zero in java
    int[] x=new int[0]; valid
    3) if we are trying to specify array size with some -ve int value then we will get a run time exception saying negative array size exception
    int[] x=new int[-3]; valid RE: negative arror size exception
    4) to specify array size the allowed data types are byte, short, char, and int if we are trying to specify any other type then we will get CE:
    int[] x=new int[10]; valid
    int[] x=new int['a']; valid
    byte b=20;
    int[] x=new int[b]; valid
    short s=30;
    int[] x=new int[s]; valid
    int[] x=new int[10l]; incalid CE; p l p found long required int
    the maximum allowed array size in java is 2147483647 which is the maximum value of the int data type
    int[] x=new int [2147483647]; valid RE: even in the case we may get a run time exception if sufficient heap memory is not available
    int[] x=new int[2147483648]; invalid CE ; integer number is too large

  • @snehalwankhade3124
    @snehalwankhade3124 4 года назад +80

    Sir I am a instrumentation engg PG. and served as an assistant professor for 7 years. But now i want to enter an IT industry. In this pandemic lockdown your videos are giving me strong confidence to learn Java. The way you teach and you cover every minute details is incredible Sir. Thank you so much

    • @prakharanand7778
      @prakharanand7778 4 года назад +2

      I am new to object oriented programming, so I don't understand about objects,classes, their rules and properties. I also don't know what oops means .Has Durga sir taught about them from complete basics? Because in oops lectures he has started from data hiding. Please help.

  • @gyandhungana7528
    @gyandhungana7528 8 лет назад +54

    He is covering very minute and basic concepts. Thanks for these videos.

  • @unboxingadda8161
    @unboxingadda8161 3 месяца назад +4

    i can't believe , teacher is like that 8 years before. i am glad to see you sir.

  • @hrusikeshbisoyi4252
    @hrusikeshbisoyi4252 4 года назад +9

    When i decided to Do Selenium WebDriver (Test Automation), my 1 friend suggested me to watch your Java Tutorial. Than my fully life is changed. ThanQ Sir, One Day i will come to Hyderabad to Touch your feet Only.

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

      Hello Hrusikesh.
      Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos.
      You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link:
      goo.gl/kqvaf2

  • @obetheanest1504
    @obetheanest1504 6 месяцев назад +5

    He is inevitable like thanos in programming language Great salute to this maestro durga sir the JAVA legend

    • @DurgaSoftwareSolutions
      @DurgaSoftwareSolutions  6 месяцев назад +1

      Hello Friend.
      Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos.
      You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link:
      goo.gl/kqvaf2

  • @Maaa4216
    @Maaa4216 3 года назад +5

    Five years ago you taught about Java but still students watched your videos
    Great thing Great thing Great thing

  • @HUNTER-sj1fu
    @HUNTER-sj1fu 5 лет назад +66

    Durga sir . . i just want to touch your feet.. Keep blessing :)

  • @VARSHAKumariDECE
    @VARSHAKumariDECE 4 года назад +23

    Sir ,I am from Bihar.There is no teacher like you in my college .I learn and enjoy most your every session.
    Thankyou so much sir🙏🙏

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

      Hello Varsha.
      Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos.
      You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link:
      goo.gl/kqvaf2

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

      definitely

  • @noedits5543
    @noedits5543 13 дней назад +1

    where is Durga sir nowadays? He is a Godly teacher. One of the best teachers I have seen in my life. and in my life i saw many great teachers. but in programming, no one is even 10 kilometers near Durga Sir. He is the GOAT (GREATEST OF ALL TIMES)

    • @DurgaSoftwareSolutions
      @DurgaSoftwareSolutions  12 дней назад

      Hello Friend.
      Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos.
      You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link:
      goo.gl/kqvaf2

  • @deveshsingh956
    @deveshsingh956 4 года назад +7

    I am from Noida .No Coaching is better than you/Yours.One day when i will visit hyderabad will surely meet and Touch your feet and have your blessings Sir.Jai Hind

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

      Hello Devesh.
      Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos.
      You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link:
      goo.gl/kqvaf2

  • @sanjaychhikara3191
    @sanjaychhikara3191 2 года назад +6

    Only teacher I have seen in my life which doesn’t leave a single doubt in my mind.

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

      Hello Sanjay.
      Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos.
      You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link:
      goo.gl/kqvaf2

  • @yogitamali6305
    @yogitamali6305 3 года назад +20

    Sir I am from Maharashtra .I love your lecture. My college professors are teaching us by seeing your videos.They copied your teaching from first to last.👍🏻

    • @DurgaSoftwareSolutions
      @DurgaSoftwareSolutions  3 года назад +2

      Hello Yogita Mali.
      Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos.
      You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link:
      goo.gl/kqvaf2

  • @farazmobin2776
    @farazmobin2776 Год назад +6

    I'm addicted to your videos. I will share this playlist everywhere, awesome teaching style and in-depth information.

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

      Hello Friend.
      Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos.
      You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link:
      goo.gl/kqvaf2

  • @piyushhibare
    @piyushhibare 7 лет назад +20

    Excellent Sir.. You are God of Java.. Salute you sir..👍👏👏

  • @bibekdhungana2182
    @bibekdhungana2182 6 лет назад +7

    Best tutorials ever watched..........No words to describe it....

  • @LethalSanatani
    @LethalSanatani 3 года назад +17

    Best concept
    Hope in the end of java session.
    I am professional in java, else I give left and right to my mind😉😉

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

      Hello Akash.
      Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos.
      You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link:
      goo.gl/kqvaf2

  • @somerandomsheat
    @somerandomsheat 6 лет назад +19

    2018 and you are still saving lives. Thank you so much!

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

    awesome concepts, a lot to learn arrays, thank you sir 🙂🙂

    • @DurgaSoftwareSolutions
      @DurgaSoftwareSolutions  6 лет назад +4

      Hello Smart Programming,
      Thanks for your valuable feedback.It will boost us to do new things. Please subscribe to get updates about new videos.
      You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link:
      ruclips.net/p/PLd3UqWTnYXOmx_J1774ukG_rvrpyWczm0
      You an see more Java videos following link:
      Java tutorial by durga sir
      ruclips.net/p/PLd3UqWTnYXOmx_J1774ukG_rvrpyWczm0
      Java 9 by durga sir
      ruclips.net/p/PLd3UqWTnYXOkvoHhlZx1vH4IMlWbPjdII
      Java 1.8 Version New Features by Durga sir
      ruclips.net/p/PLd3UqWTnYXOk0y_HFp2r1eMW_lhZ7yP4w&disable_polymer=true
      Adv Java JDBC Tutorial by Durga sir
      ruclips.net/p/PLd3UqWTnYXOniKfYRNY___weULTRd9Co0
      OCJA 1.8 Java SE 8 Programmer - I (1Z0 - 808 ) By Durga sir
      ruclips.net/video/hXsPYDhEIuE/видео.html
      Core Java by NagoorBabu sir
      ruclips.net/p/PLd3UqWTnYXOl9j310zVSvbjenA53eRaWR
      Advenced Java by Nagoorbabu sir
      ruclips.net/p/PLd3UqWTnYXOlFGUEmzJlADK5cwzls4k5i
      CoreJava by Ratan
      ruclips.net/p/PLd3UqWTnYXOkIbQ-9MfOK4HOGo0Hdtuti
      Advanced Java jdbc by Ratan
      ruclips.net/p/PLd3UqWTnYXOlVCDK8tUIR6qT1l-EdjcEg&disable_polymer=true
      Advjava tutorials - JSP by Ratan
      ruclips.net/p/PLd3UqWTnYXOmcvuk4ExKSFRpL0HPbt6iQ
      Adv java servlets tutorial by ratan
      ruclips.net/p/PLd3UqWTnYXOk23J5gLUVYp_aSdeBXAuFT&disable_polymer=true
      Servlet and JSP Tutorial by anji reddy
      ruclips.net/p/PLd3UqWTnYXOmPeJbzLe3ziBT7fM79OfRI&disable_polymer=true
      Advanced Java Jdbc by Anjireddy
      ruclips.net/p/PLd3UqWTnYXOnt39kQhcsTBh65ToFgG_r2&disable_polymer=true
      Hibernate byAnjireddy
      ruclips.net/p/PLd3UqWTnYXOm7zFQpPsbRrQY8MZ9FI1qQ&disable_polymer=true
      Struts by Anjireddy
      ruclips.net/p/PLd3UqWTnYXOnr_x5ziRVTDSE1A9wR-kN6&disable_polymer=true
      Spring by Mr.AnjiReddy
      ruclips.net/p/PLd3UqWTnYXOmve9nOsCtjd2PqKvDr-QiF
      ADV JAVA by Naveen
      ruclips.net/p/PLd3UqWTnYXOnSmOj1E3yh3QxTJ_YHgRm8&disable_polymer=true
      Spring by Mr.Naveen
      ruclips.net/p/PLd3UqWTnYXOmpGjkPiaLZsVw6JYw18vMT
      Hibernate by Mr. Naveen
      ruclips.net/p/PLd3UqWTnYXOlbNZyVIwgX627xvB0EWnqJ
      Struts by Mr.Naveen
      ruclips.net/p/PLd3UqWTnYXOn7xetRSRuvaQyE-nyDqBew

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

      thanks a lot again sir, will surely subscribe them all 👍👍

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

      @@SmartProgramming gotcha sir 😉
      I see you worked hard for teaching us 👍
      I see both of you 💗

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

      2 teacher at one place 😊

  • @tanishajaiswal7559
    @tanishajaiswal7559 2 года назад +13

    he clears those doubts which we don't know we had🙌🏻

  • @saikishorereddy6554
    @saikishorereddy6554 4 года назад +9

    How many are thinking we are lucky to have such lectures given such a great expect 😔 .. I wish I would see you in reality.... I think u will also live in hyderabad.... Thank you so much sir 🙏🙏

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

      Hello Sai Kishore.
      Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos.
      You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link:
      goo.gl/kqvaf2

  • @roopapatil2815
    @roopapatil2815 5 лет назад +7

    My favourite teacher is Durga Sir in my entire life..

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

      Hello Roopa.
      Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos.
      You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link:
      goo.gl/kqvaf2

  • @subhashkumaryadav39
    @subhashkumaryadav39 2 года назад +3

    Sir thank you ..your teaching style is amazing..I searched many courses for java..and also followed one of them but no one taught in this detailed.. Thank you sir..Now I am your big fan sir..from Jharkhand

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

      Hello Subhash.
      Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos.
      You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link:
      goo.gl/kqvaf2

  • @forexrook
    @forexrook 6 лет назад +3

    Sir, Great. there is no parallel to you. There may be 100s or 1000s of Java Professionals in the world. But your way of teaching is the best. i am pretty sure you are really the Boss in Java teaching. I love you sir.

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

      Hello Imran.
      Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos.
      You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link:
      goo.gl/kqvaf2

  • @archanasareddy7892
    @archanasareddy7892 4 года назад +3

    Actually I have joined in one institute only 50% I know the concept.but ur videos improved my knowledge.tq sir

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

      Hello Archana.
      Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos.
      You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link:
      goo.gl/kqvaf2

  • @narendarmusunuri9128
    @narendarmusunuri9128 4 года назад +3

    Sir...
    U r one of the best teachers in the world.
    Thankyou so much for explaining each and every topic.We always need teachers like u .
    Once again thank you so much sir..🙏🙏🙏🙏

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

      Hello Narendar.
      Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos.
      You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link:
      goo.gl/kqvaf2

  • @ishitakundu8129
    @ishitakundu8129 3 года назад +13

    Thank you so much sir.......in every minute you are clearing my each and every doubts....India needs more teachers like you....

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

      Hello Ishita.
      Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos.
      You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link:
      goo.gl/kqvaf2

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

      is it complete video lectures provided by durga sir

    • @pandabikash5590
      @pandabikash5590 10 месяцев назад +1

      ​@@vikastiwari10 obviously

    • @pandabikash5590
      @pandabikash5590 10 месяцев назад

      Yes

  • @jovitalobo1273
    @jovitalobo1273 6 лет назад +6

    no one has explained arrays in such an awesome way...as you did Durga Sir...appreciate it

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

      Hello Jovita Lobo.
      Thanks for your valuable feedback.It will boost us to do new things. Please subscribe to get updates about new videos.
      You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link:
      goo.gl/kqvaf2

  • @-AjayChauhan
    @-AjayChauhan 7 месяцев назад +14

    Process going on to learn java in depth

    • @Kafi_relatable
      @Kafi_relatable 4 месяца назад

      hey can you tell me what kind of programs are you practicing

  • @curiousniki2954
    @curiousniki2954 3 месяца назад +2

    Watching in june 2024 these videos are really helpful to understand java concepts in depth

    • @DurgaSoftwareSolutions
      @DurgaSoftwareSolutions  3 месяца назад

      Hello Friend.
      Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos.
      You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link:
      goo.gl/kqvaf2

  • @ishanvirupaliindrajeetdakh8101
    @ishanvirupaliindrajeetdakh8101 2 года назад +1

    What an explanation sir..... Now I will postmartem of java... I am trying to learn Java from last 2 years... Now I get it well... Your a magician of java lang😀supppprrrrrr

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

      Hello Friend.
      Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos.
      You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link:
      goo.gl/kqvaf2

  • @mokshadanayak9182
    @mokshadanayak9182 5 лет назад +5

    Alot of array concepts got to know... You are great sir.. A big like to your video..

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

      Hello Mokshada nayak.
      Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos.
      You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link:
      goo.gl/kqvaf2

  • @B2eProgrammers
    @B2eProgrammers 3 года назад +2

    sir, you are the best teacher of java, you explain in best way, thank you sir

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

      Hello Friend.
      Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos.
      You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link:
      goo.gl/kqvaf2

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

    When I was in hyd , I did not get a chance due to some X problems but now I am enjoying your videos . Thanks a lot

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

    I wish my college teachers were like him...Thank God 🙏👍👍 Thank u sir

    • @DurgaSoftwareSolutions
      @DurgaSoftwareSolutions  Год назад +2

      Hello Shanidev.
      Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos.
      You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link:
      goo.gl/kqvaf2

    • @shanidevhanuman5559
      @shanidevhanuman5559 Год назад +1

      God Bless Sir, May ur business grow zillion times, world need teachers like u🙏🙏🙏

  • @jayantmali8234
    @jayantmali8234 3 года назад +2

    Java and some moral values made videos extraordinary.

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

    cnt forget each and everything explained. best tutorials

  • @gopikrishna748
    @gopikrishna748 Год назад +22

    Notes for the above video
    Arrays
    1) introduction
    2) Array Declaration
    3) Array Creation
    4) Array Initialization
    5) Array declaration, Creation & initialization in a single line
    6) lenght vs lenght()
    7) Anonymous Array
    8) array elements assignment
    9) Array Variable assignment
    Introduction
    an array is an indexed collection of a fixed number of homogeneous data elements
    the main advantage of arrays is we can represent a huge number of values by using a single variable so that the readability of the code will be improved but the main disadvantage of arrays are
    fixed in size that is once we create an array there is no chance of increasing or decreasing the size based on our requirement hence to use the arrays concept compulsory we should
    know the size in advance, which may not possible always.
    Array Declaration
    one-dimensional array declaration
    int[] x; valid best practice recommended because the name is clearly separated from the type
    int []x; valid
    int x[]; valid
    at the time of declaration, we can't specify the size otherwise we will get a compile-time error
    int[6] x; invalid
    int[] x; valid
    two-dimensional array declaration
    int[][] x; valid
    int [][]x; valid
    int x[][]; valid
    int[] []x; valid
    int[] x[]; valid
    int []x[]; valid
    which of the following is valid
    int[] a,b; valid a= 1 b= 1 dimensional
    int[] a[],b; valid a=2 b=1 dimensional
    int[] a[],b[]; valid a=2 b=2 dimensional
    int[] []a,b; valid a=2,b=2 dimensional
    int[] []a,b[]; valid a=2,b=3 dimensional
    int[] []a,[]b; invalid if we want to specify dimensional before the variable that facility is applicable only for 1st variable in a declaration
    if we are trying to apply for the remaining variables we will get a compile-time error
    int[] []a,[]b,[]c; a is valid b is invalid c is invalid
    3-dimensional array declaration
    int[][][] a;
    int [][][]a;
    int a[][][];
    int[] [][]a;
    int[] a[][];
    int[] []a[];
    int[][] []a;
    int[][] a[];
    int [][]a[];
    int []a[][]; these all are valid
    Array creation
    every array in java is an object only hence we can create arrays by using a new operator
    int[] a=new int[3];
    for every array type corresponding classes are available and these classes are part of the java language and not available to the program level
    example
    class Test{
    public static void main(String[] args){
    int[] x= new int[3];
    System.out.println(x.getclass().getName()); //[I
    }
    }
    array, corresponding class name
    int[] [I
    int[][] [[I
    double[] [D
    short[] [S
    byte[] [B
    boolean[] [Z
    loopholes for creating arrays
    1) at the time of array creation compulsory we should specify the size otherwise we will get compile time error
    int[] x=new int[]; invalid
    int[] x=new int[6]; valid

    2) it is legal to have an array with size zero in java
    int[] x=new int[0]; valid
    3) if we are trying to specify array size with some -ve int value then we will get a run time exception saying negative array size exception
    int[] x=new int[-3]; valid RE: negative arror size exception
    4) to specify array size the allowed data types are byte, short, char, and int if we are trying to specify any other type then we will get CE:
    int[] x=new int[10]; valid
    int[] x=new int['a']; valid
    byte b=20;
    int[] x=new int[b]; valid
    short s=30;
    int[] x=new int[s]; valid
    int[] x=new int[10l]; incalid CE; p l p found long required int
    the maximum allowed array size in java is 2147483647 which is the maximum value of the int data type
    int[] x=new int [2147483647]; valid RE: even in the case we may get a run time exception if sufficient heap memory is not available
    int[] x=new int[2147483648]; invalid CE ; integer number is too large

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

      bhaiya kya app apne java ke notes mere sath share kr skte ho pls

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

    Happy Teacher's Day durga sir and I just want to say thank you sir

  • @sohanrawa4870
    @sohanrawa4870 5 лет назад +88

    Cameraman is also learn java in free

  • @UnitedTekSolutions
    @UnitedTekSolutions 7 лет назад +6

    best lecture i have ever listened to..

  • @vaishnaviguttal3766
    @vaishnaviguttal3766 Год назад +2

    I am learning every day from your channel and you have explained everything so well,THANK YOU😁

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

      Hello Friend.
      Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos.
      You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link:
      goo.gl/kqvaf2

  • @smritipriya-fu6sc
    @smritipriya-fu6sc 3 месяца назад +1

    sir your teaching way is out of the box you are fantastic sir thankyou so much for these tutorial

    • @DurgaSoftwareSolutions
      @DurgaSoftwareSolutions  3 месяца назад +1

      Hello Friend.
      Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos.
      You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link:
      goo.gl/kqvaf2

  • @-hp9vq
    @-hp9vq 3 года назад +2

    God of java,I have no words to express my self for u and all universe no body teach like u ❤️❤️🙏🙏

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

      Hello Anil.
      Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos.
      You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link:
      goo.gl/kqvaf2

  • @bhumikagorana8251
    @bhumikagorana8251 3 года назад +3

    i am feeling that he has set infront me and teaching me live so that is ver good thing.

  • @Mr.vikas.agarwal
    @Mr.vikas.agarwal 7 лет назад +3

    the best tutor on youtube............sir you have cleared my all concepts .....thank u sir.........

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

    Durga Sir you are the best. I have seen other channels too for Java but I think your style of tutoring is the best in java. The detailing of every topic in java you covered and the way you explained it is impeccable.

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

      Hello Nikhil.
      Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos.
      You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link:
      goo.gl/kqvaf2

  • @nikitapurohit8271
    @nikitapurohit8271 Месяц назад +1

    Best explanation and best dir..plz keep making videos sir...💗🙏

    • @DurgaSoftwareSolutions
      @DurgaSoftwareSolutions  Месяц назад

      Hello Friend.
      Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos.
      You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link:
      goo.gl/kqvaf2

  • @ramreddy7784
    @ramreddy7784 6 лет назад +2

    Sir, no words ....awesome!, any one can follow your videos, even exp peoples. :)

  • @viswanadhamounika1308
    @viswanadhamounika1308 6 лет назад +3

    I hate programming but once I saw Ur 1st video its a clear-cut explanation no ever can teach lyk u sir u r such an amazing person 🙏

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

      Hello Mounika.
      Thanks for your valuable feedback.It will boost us to do new things. Please subscribe to get updates about new videos.
      You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link:
      goo.gl/kqvaf2

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

    i cant explain how helpful your videos are...thnq sir..

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

      Hello Sunita.
      Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos.
      You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link:
      goo.gl/kqvaf2

  • @Atzee
    @Atzee Год назад +2

    day7 l6
    1. **ARRAYS**
    1. INTRODUCTION

    ARRAY IS INDEXED COLLECTION of fixed no. of homogenous data elements

    advantage: can represent huge no. of value by using single variable to reduce readability (we should know size in advance)

    dis-advantage: fixed in size, can hold only homogeneous elements

    2. array decalaration

    1d, 2d, 3d

    > every array in java is object only
    >
    3. array creation
    4. array initialisation
    5. array decalaratin, creation, under initianalisation in a single line
    6. length vs length()
    7. anonymous arrays
    8. array element assignments
    9. array variable assignments

  • @ayushsoni8983
    @ayushsoni8983 Год назад +2

    i think there not a single concept which durga sir doesn't know about. Literally he is clearing every atomic doubts of this language. after completing this series i will definitely going to become god of JAVA☜(゚ヮ゚☜)

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

      Hello Soni.
      Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos.
      You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link:
      goo.gl/kqvaf2

  • @-AjayChauhan
    @-AjayChauhan 7 месяцев назад +2

    Thanks respected Mr. Durga sir

  • @parthsarathidixit5648
    @parthsarathidixit5648 Год назад +2

    I think the cameraman also become a java developer till now

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

    super super super excellent with u r videos only now i learnt java sir thanks alot

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

      Hello Dada Khalender,
      Thanks for your valuable feedback.It will boost us to do new things. Please subscribe to get updates about new videos.
      You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link:
      goo.gl/U1KKyi
      You an see more Java videos following link:
      Java tutorial by durga sir
      goo.gl/XWb4RL
      Java 9 by durga sir
      goo.gl/hXGyBW
      Java 1.8 Version New Features by Durga sir
      goo.gl/iHXXYU
      Adv Java JDBC Tutorial by Durga sir
      goo.gl/8q16Eo
      OCJA 1.8 Java SE 8 Programmer - I (1Z0 - 808 ) By Durga sir
      goo.gl/gC6R7f
      Core Java by NagoorBabu sir
      goo.gl/s6Nvj1
      Advenced Java by Nagoorbabu sir
      goo.gl/ZZonzJ
      CoreJava by Ratan
      goo.gl/3VM19v
      Advanced Java jdbc by Ratan
      goo.gl/Rn2UXr
      Advjava tutorials - JSP by Ratan
      goo.gl/Z6ytxm
      Adv java servlets tutorial by ratan
      goo.gl/zTwi9y
      Servlet and JSP Tutorial by anji reddy
      goo.gl/jZMRUv
      Advanced Java Jdbc by Anjireddy
      goo.gl/16CGzX
      Hibernate byAnjireddy
      goo.gl/qQojvZ
      Struts by Anjireddy
      goo.gl/nE1Eof
      Spring by Mr.AnjiReddy
      goo.gl/NfN14R
      ADV JAVA by Naveen
      goo.gl/bhSsXF
      Spring by Mr.Naveen
      goo.gl/huVwFN
      Hibernate by Mr. Naveen
      goo.gl/TY3Wpd
      Struts by Mr.Naveen
      goo.gl/Vkmiw7

  • @dreamer03__
    @dreamer03__ 10 месяцев назад +1

    Day 5 - 21/Oct/2023
    Language Fundamentals -
    Lecture 6 completed ✅
    Thankyou sir!

  • @omkarphadtare667
    @omkarphadtare667 4 года назад +3

    i learn java from ur vedioes .i am now good coder i have my own channel on youtube.

    • @DurgaSoftwareSolutions
      @DurgaSoftwareSolutions  4 года назад +2

      Hello Omkar.
      Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos.
      You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link:
      goo.gl/kqvaf2

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

      @@DurgaSoftwareSolutions yass sir

  • @dare2defeatdiabetesgirl245
    @dare2defeatdiabetesgirl245 4 года назад +3

    Trying for jobs now, thanks for these videos

  • @user-dn2qk6rv3r
    @user-dn2qk6rv3r 6 месяцев назад +2

    Founder of JAVA --> James Gosling
    Father of JAVA --> Durga sir ♥🙇

    • @DurgaSoftwareSolutions
      @DurgaSoftwareSolutions  6 месяцев назад

      Hello Friend.
      Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos.
      You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link:
      goo.gl/kqvaf2

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

    Super Durga Garu,, your way of teaching is excellent and videos are so helpful.

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

    you teach awesome sir!and i lov the fact that u use edit plus and not any ide

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

    Sir from every lecturer/trainer i got only .... array can take homogeneous data only..... what if we change its type to Object type, it can take both homogeneous & hetrogeneous data now------> just need 1 clarification from you because i feel you are in that position/ that person whom i can get best answer, Thanks for all these valuable efforts

    • @DurgaSoftwareSolutions
      @DurgaSoftwareSolutions  2 года назад +1

      Hello Mishra.
      Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos.
      You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link:
      goo.gl/kqvaf2

  • @utkarshtripathi0001
    @utkarshtripathi0001 11 месяцев назад +1

    Durga sir is a rajni kant of java🔥🔥

    • @DurgaSoftwareSolutions
      @DurgaSoftwareSolutions  11 месяцев назад

      Hello Friend.
      Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos.
      You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link:
      goo.gl/kqvaf2

  • @bobbypandagre6143
    @bobbypandagre6143 Месяц назад +1

    Programming GOD Father durga sir❤❤❤

    • @DurgaSoftwareSolutions
      @DurgaSoftwareSolutions  Месяц назад

      Hello Friend.
      Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos.
      You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link:
      goo.gl/kqvaf2

  • @harishkakumani2206
    @harishkakumani2206 2 года назад +1

    The way teaching very highlevel very easy to learning to me

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

      Hello Harish.
      Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos.
      You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link:
      goo.gl/kqvaf2

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

    nice explanation easilly understanding thanks durga .

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

    Thank you so much sir.. your explanation is awesome. Simply superb sir.

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

      Hello Srikanth.
      Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos.
      You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link:
      goo.gl/kqvaf2

  • @sowndaryas3851
    @sowndaryas3851 5 месяцев назад +1

    ಗುರುಗಳೇ ನಿಮಗೆ ನಮ್ಮ ಸಾವಿರ ವಂದನೆ🙏...

  • @mayanksingh-fq6nb
    @mayanksingh-fq6nb 4 года назад +3

    no one explain like you sir you explain very part where might possible get an error.....best way to learn java i suggest to learn here because pf each and every concept is very clearly define sir
    thank you sir i.... rt now i am following to you to learn java sir i want to know if i have a problem where would i go to clear my dought .....please tell me sir

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

      Hello Mayank.
      Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos.
      Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28

  • @santoshkar267
    @santoshkar267 2 года назад +1

    During the class time sir had say something to me ... that's come true..

  • @MadhuKothuru-he2re
    @MadhuKothuru-he2re Год назад +1

    Today's I completed this class thank you sir

  • @krishnachandrapatel7046
    @krishnachandrapatel7046 5 лет назад +4

    But sir runtime possible by taking user input
    Scanner sc=new Scanner(System. in) ;
    int x= sc nextInt() ;
    int[] arr=new int[x] ;

  • @ashish4599
    @ashish4599 11 месяцев назад +1

    Durga sir - God of Java 🙏.

    • @DurgaSoftwareSolutions
      @DurgaSoftwareSolutions  11 месяцев назад +1

      Hello Friend.
      Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos.
      You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link:
      goo.gl/kqvaf2

  • @vipul3344
    @vipul3344 11 месяцев назад +2

    Sir Durga felt us it is true, but it turned out to be false🥲. It has been a lot of fun learning from Durga Sir❤

  • @VickyKumar-cp2sc
    @VickyKumar-cp2sc Год назад +1

    love you sir
    the way you teach

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

      Hello Vicky.
      Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos.
      You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link:
      goo.gl/kqvaf2

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

    nice explanation by durga sir....thank you so much sir....

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

    Sir u r simply great

  • @koteswararao7039
    @koteswararao7039 9 лет назад +2

    Excellent explanation sir....

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

      Koteswara Rao
      Demo Sessions on youtube,
      Language Fundamentals(16 Videos)ruclips.net/video/eTXd89t8ngI/видео.html,
      Operators & Assignments(7 Videos)ruclips.net/video/1JGOPhIyhAM/видео.html,
      Flow Control(6 Videos)ruclips.net/video/X6rS9vD9-qM/видео.html.

  • @exploretheworld.0155
    @exploretheworld.0155 Год назад +1

    Amazing teaching thanks a lot sir 😍

    • @DurgaSoftwareSolutions
      @DurgaSoftwareSolutions  Год назад +1

      Hello Friend.
      Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos.
      You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link:
      goo.gl/kqvaf2

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

    Your tutorials are blessing

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

      Hello Tiwari.
      Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos.
      You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link:
      goo.gl/kqvaf2

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

    Tq very much sir for ur wonderful explanation

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

      Hello Vidhya.
      Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos.
      You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link:
      goo.gl/kqvaf2

  • @AlokKumar-gu7jd
    @AlokKumar-gu7jd 3 года назад +1

    Thank you so much sir ..Dandavat Pranam sir

  • @kamalagarwal8686
    @kamalagarwal8686 4 года назад +2

    Sir awesome video
    But a request
    Plzzz write a little big in size
    Quite a awesome video

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

      Hello Kamal.
      Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos.
      You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link:
      goo.gl/kqvaf2

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

      @@DurgaSoftwareSolutions Yes sir
      Definitely I will watch all video
      They are worth it

  • @HELLBOY-g5g
    @HELLBOY-g5g 3 года назад +2

    Sir you told second story was happened in Indian in around 350bc this doing dhananad with chandraguptas father

  • @dudesquad5590
    @dudesquad5590 Год назад +1

    thankyou sir for valuable videos , if notes are availble then plz provide GURU JI 🙏🙏🙏

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

      Hello Friend.
      Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos.
      Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28

  • @gameoftradingpsychology
    @gameoftradingpsychology 7 лет назад +3

    thank u sir awesome tutorial n concept sir..you r great sir

  • @-Neelima-bi4oo
    @-Neelima-bi4oo 2 года назад +1

    sir your teaching is excellent and iam understanding the concepts .sir can you explain some practical programs sir.

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

      Hello Neelima.
      Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos.
      Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28

  • @shubhamsaurya3060
    @shubhamsaurya3060 8 лет назад +3

    hats off sir ji...

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

    Thank u sir for your lectures

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

    Thanks alot Durga Sir.

  • @gourabhpatel8887
    @gourabhpatel8887 4 года назад +3

    Sir, by identifier rule we can't create class name or method name( [ ) .so array object class's name is [I,[[I,[D,[Z

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

      we can use predefined class name label name or interface name

  • @sainiashish24
    @sainiashish24 7 лет назад +3

    Enjoying watching your videos sir.
    great explanation.

  • @anshumanxda
    @anshumanxda 5 лет назад +2

    Thanks sir

  • @mr_possible6197
    @mr_possible6197 4 года назад +2

    Question regarding topic discussed around 55:26
    How can the compiler at runtime compute the size of String[] args being passed as argument ?? Since it is an array as being told in the video, doesn't it violate the policy of Java strings being unable to increase/decrease dynamically ??? Please advice anyone or Durga sir.

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

      Hello Sambhav.
      Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28

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

      @@DurgaSoftwareSolutions Answer my doubt please.

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

      Sir i want to learn array of objects can i some tips for that

  • @sam-gu6rv
    @sam-gu6rv 6 лет назад +2

    thank you sir I watched all the videos of java tutorial thank you sir so much

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

      Hello Sam.
      Thanks for your valuable feedback.It will boost us to do new things. Please subscribe to get updates about new videos.
      You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link:
      goo.gl/kqvaf2

    • @sam-gu6rv
      @sam-gu6rv 6 лет назад

      Durga Software Solutions sir thank you so much for reply i have watched almost all videos nearly 160 or more i am a great fan of yours keep teaching sir and what should i do to learn code from you

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

    you are a god of java sir

  • @pankajsingh-sb8lx
    @pankajsingh-sb8lx 4 года назад +3

    I have given 18000 to ducat in noida. But after your lecture, I found it was my biggest mistake to join ducat. They are not even 10 percent you teach...

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

      Hello Pankaj.
      Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos.
      You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link:
      goo.gl/kqvaf2

  • @aadarshmishra1488
    @aadarshmishra1488 5 лет назад +2

    sir your video is super to super , sir is this videos are totally based on for new jdk version or some thing got change which want to know very mandatory ...sir please reply me

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

      Hello Students.
      Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28

  • @mohammaddilshad2726
    @mohammaddilshad2726 3 года назад +2

    Sir picture quality is little low , as we are unable to see clear, is it possible to enhance the quality ?
    Rest the things are wonderful and we really appreciate your method how you explain the arrays and javascript.

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

      Hello Dilshad.
      Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos.
      Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28