Corejava-Basics-Types of Variables in java Part-2

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

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

  • @Manish-lu5ti
    @Manish-lu5ti 5 лет назад +6

    Don't believe in theoriotical, believe in practical------------ i'm impressed

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

      Hello Manish.
      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 Videos by Ratan in the following link:
      goo.gl/7oC3T3

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

    Ratan sir, because of you i am able to learn JAVA. Hats off the way you teach , you are the best trainer i have ever seen in my IT career of 12 years :-)

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

      Hello Ravikumar,
      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 Videos by Ratan in the following link:
      CoreJava by Ratan
      goo.gl/7oC3T3
      Advanced Java jdbc by Ratan
      goo.gl/QymTy4
      Advjava tutorials - JSP by Ratan
      goo.gl/hG2hUC
      Adv java servlets tutorial by ratan
      goo.gl/a9LYoQ

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

      Me tooo

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

    I have seen tens of video tutorials about Java on internet,but this is so far the best tutorial ever ! thank you mr Ratan,God Bless You and thanks to Durgasoft for providing these videos to us,

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

    No words sir ur teaching.....
    💗💗

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

    sir your teaching style is fabulous sir, in never seen my carrier. thanks sir once again

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

      Hello Sateesh.
      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 Videos by Ratan in the following link:
      CoreJava by Ratan
      goo.gl/7oC3T3
      Advanced Java jdbc by Ratan
      goo.gl/QymTy4
      Advjava tutorials - JSP by Ratan
      goo.gl/hG2hUC
      Adv java servlets tutorial by ratan
      goo.gl/a9LYoQ

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

    Thnx Sr... Smiled at 3. 36....
    Well explanation.. No words.. Actually me from Kashmir very thankful to u Sr.. As due to prevailing conditions in Kashmir we don't get knowledge from colleges.. Due to hartal etc.. Thnx Sr for such excellent teaching service

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

      Hello Lone Humi.
      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 Videos by Ratan in the following link:
      goo.gl/7oC3T3

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

    that is amazing way of teaching. Ratan Sir you are Seriously Object class(most imp) of DurgaSoft.

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

    awesome Ratan sir you are too good...I did Engineering but never could understand Java but by listening to your videos i am able to understand......Thanks.. awesome

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

    Ratan sir thank you for your best effort to make java easy. I wish you best of of everything. You know how to teach.

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

    excellent class...thanks.... I am the salesforce developer. we need core java basics to develop applications in my platform. these videos are very helpful to me

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

      Hello Chaitanya.
      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 Videos by Ratan in the following link:
      goo.gl/7oC3T3

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

    Wonderful faculties(c/o ameerpet),clear explanation in simple way,i think because of this strong foundation majority telugu ppl are rocking in IT industry all over the world :)

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

    Sir u are awesome....way of teaching is very nice...

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

      Hello Aishwarya.
      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 Videos by Ratan in the following link:
      goo.gl/7oC3T3

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

      @@DurgaSoftwareSolutions thanku so much for your kindness...

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

    kummeshavu ga Explanation, excellent explanation.

  • @Tu-nak-tu-nak
    @Tu-nak-tu-nak 7 лет назад

    Simple to learn. Thank you Ratan. Eg of MADE IN INDIA product Durgasoft.

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

    Thank you so much Ratan Sir u made the concept easy 😍😍😍❤️. The way you teach is 🔥🔥🔥.

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

    very good teaching and understandable

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

    in-depth explanation of concepts, Thank you Ratan Sir !

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

    Outstanding..! You have built my foundation ,,,Thanks

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

    Ratan Sir, You are excellent. Thanks for your help.

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

    Bahut sandar padate ho.
    Love u sir

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

    Phenomenal explaining, good sir. Thank you.

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

    ratan sir is best teacher!

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

    Very nice explanation sir..

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

      Hello RajKumar.
      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 Videos by Ratan in the following link:
      goo.gl/7oC3T3

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

    one time is tills come to run time.... Thanks Ratan

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

    huge amount of information thank you

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

      Hello Ahmid libya.
      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 Videos by Ratan in the following link:
      CoreJava by Ratan
      goo.gl/7oC3T3
      Advanced Java jdbc by Ratan
      goo.gl/QymTy4
      Advjava tutorials - JSP by Ratan
      goo.gl/hG2hUC
      Adv java servlets tutorial by ratan
      goo.gl/a9LYoQ

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

    I have one question. If the Static variable that we want to access reside on the same source file under same class, then it seems like we don't even need to use class-name.variable to call the variable. We can just directly call them be it static or instance area. But we need to use class name if we are using a different class inside or another source file. Then only you need to use class-name.static-variable.

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

    Awesum... It clears my doubt. Thanks.

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

    sir, your teaching is very smart but still need to know, why we are using different type of variable. kindly advice me

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

    hats off your are fantastic excellent explanation

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

    Awesome Tutorial..Great man
    Love From Pakistan

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

    Hello Ratan sir, it was a nice video with good examples..
    When i try to execute the same examples , i observed that
    1. without mentioning the class name also we can call the static variables in static main method..
    public class Java_Static_Variables {
    static int a=10;
    static int b=5;
    public static void main(String[] args) {
    System.out.println(a);
    System.out.println(b);
    }
    Output::
    10
    5
    2. without mentioning the class name also we can call the static variables in instance user defined method..
    public class Java_Static_Variables {
    static int a=10;
    static int b=5;
    public static void main(String[] args) {
    System.out.println(a);
    System.out.println(b);
    Java_Static_Variables x=new Java_Static_Variables();
    x.m1();
    }
    //Instance method
    public void m1()
    {
    System.out.println(a);
    System.out.println(b);
    }
    Output::
    10
    5
    10
    5
    please confirm and correct me if any mistakes.

  • @Manish-lu5ti
    @Manish-lu5ti 5 лет назад +2

    You are great

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

      Hello Manish.
      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 Videos by Ratan in the following link:
      goo.gl/7oC3T3

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

    supeeeeeeeer,,.
    please do upload oops concept videos ratan sir..

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

    Thank you so much !!!!

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

    Superb explanation ratan sir I want all ratan videos of core java so how??

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

      Hello Krishna. For all Core java videos,
      Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627,7207212427/28

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

      just type in youtube search as " core java basics by ratan "...you can see all videos in one playlists( in order)

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

      Yaa but some videos are private yarrr

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

    very nice video Brother, from Bangladesh

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

    I understood easily

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

    Best again🥰🥰🥰

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

    amazing explination

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

    Excellent Tutorial, Thanks a lot lot & Lots of Sir.
    I have a query. Suppose we declare a Local Variable and do some calculation and give and output which is again stored in a variable inside the method. Now i have to use this Variable value in some other methods say main Method or other method, How can i do this thing.
    Thanks.

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

      Hi Pardeep kumar we will discuss the form and meaning of writing Java classes and Javadoc. .... In fact, I have put these methods in the Prompt class; also, one calls the other so ... a simply-namedmethod (with the parameters needed to do the calculation) ... Besides its single parameter, thismethod declares two local variables ...

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

      Sir not getting you. Can u please explain. Thanks

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

      you can call the method using some other method and then return the required variable's value to the caller method.
      So now you can store the returned value in some other variable and then use it.
      Hope this helps :)

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

    Hlo ratan sir
    Exception handling not cmplt video pls send all core video ur video vry gud

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

      Hi Nidhinikus Tq...we kept some videos private.. Plz contact our team durgasoftonlinetraining@gmail.com they will assist

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

    fully details. nice

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

    Thank you sir...

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

    very nice videos

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

    thanks a lot.....
    supbbbb tutorial ...

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

      Hi Ankita. Thank you very much for your feedback

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

      in static ..
      can we not call the m1 method using class name ???like
      test.m1();
      plz tell me

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

    Hi Ratan sir how to I get your private videos access.. Please help me

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

    Jus wow

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

      Hello Sheikh.
      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 Videos by Ratan in the following link:
      goo.gl/7oC3T3

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

    Iam always follow s u

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

    Good morning sir i have a dought that in static variables we can access by using class file bt u have sad that to call m1 method u have created an object ...plz clarify my dought

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

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

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

      If method is instance method then compulsory you have to create object of class on the ref you have to call instance method

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

    sir when I am declaring variables with static keyword and calling it in the static method by using an object it is printing without any error. can you tell me the reason behind it?

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

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

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

      Call with class name

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

      We call static variable either class name or object reference but recommended to call class name always

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

    thank you sir

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

    we are able to acess static variable in instance method

    • @Navii-CN
      @Navii-CN 6 лет назад

      of course...by using class name we can access static variables in instance method..
      ex: class abc
      {
      static int a=20;
      public void g1()
      {
      System.out.println(abc.a);
      }
      }

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

    sir .. class type lo Test t variable example ga cheparu kada adi eaa datatype ki vastundisir either int or charecter

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

      phani phani user defined data type

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

    in static ..
    can we not call the m1 method using class name ???like
    test.m1();

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

    god bless u

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

    supeb !!!

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

    plz upload exception handling in java

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

      Hi Divya. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627

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

    3 point in instance variable--
    memory is allocated when object is created ..
    my question is-- if i do not want create object. how the memory allocated for the instance variable.

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

      You cannot allocate memory to instance variable if you don't create an object.
      Reason is ..
      When you are accessing Instance variable inside static method you are creating an object and with that object you are accessing instance variable , So object creation is necessary.
      And when you are accessing Instance Variable inside Instance method you need to call that user defined instance method through main method so to call instance method through main method you again need to create an Object to access the instance method.
      So Object creation is necessary in every case according to my understanding. :)

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

      Thank you

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

    What if we declared the variable in local but want to access the variable in static method??

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

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

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

    please open the sub branch of durgasoft in Bangalore sir.

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

    static variables are stored in heap memory only but in permgen which is a section of heap memory. Its not non heap as you said.

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

    I could not understand test t thing, how t. a or t. b gives the value of a and b respectively?

  • @sunnykumar-fy2pc
    @sunnykumar-fy2pc 8 лет назад

    what meaning of non heap memory storage in static variable. so what is called.... non heap

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

    if i declare a variable inside main...then how can i call it outside method?plz

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

    Hi Sir,
    i am able to acess static variable in below example without using class name in instance method ...please comment
    class Variable {
    static int a=40;
    static int b=50;
    public static void main(String[] args) {
    // TODO Auto-generated method stub
    Variable v=new Variable();
    System.out.println(Variable.a);
    System.out.println(Variable.b);
    v.m1();
    }
    void m1(){
    System.out.println(a);
    System.out.println(b);
    }
    }

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

    Ur god to me

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

    what is non heap memory

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

      Non Heap Means method area According to my understanding.......
      that means mainly we have three areas (1)method area (2)heap area (3)stack area................
      In this Method area can access static variable,,static method,,non static method.
      In heap area non static variable and object creation is performed .
      in Stack area local Variable is accessed.
      thank u bro :-)