STATIC VARIABLES, STATIC METHODS & STATIC BLOCK - JAVA PROGRAMMING

Поделиться
HTML-код
  • Опубликовано: 8 сен 2024
  • STATIC VARIABLES
    STATIC METHODS
    STATIC BLOCK
    #javatutorialsforbeginners, #javalectures, #staticvariablesmethodsblock
    Subscribe
    / @sundeepsaradhi
    ----------------------------------------------------------------------------------------------------------------
    CORE JAVA TUTORIAL FOR BEGINNERS || LEARN CORE JAVA IN 15 HOURS || JAVA TUTORIALS FOR BEGINNERS
    • CORE JAVA TUTORIAL FOR...
    PYTHON PROGRAMMING FOR BEGINNERS (ENGLISH)
    • WANT TO LEARN PYTHON? ...
    PYTHON TUTORIALS FOR BEGINNERS (తెలుగు లో)
    • Python in One Shot(తెల...
    PYTHON OOPS - MODULES - EXCEPTION HANDLING (తెలుగు లో)
    • PYTHON - OOPS CONCEPTS...
    PYTHON NUMPY TUTORIAL IN TELUGU (తెలుగు లో) || COMPLETE NUMPY TUTORIALS IN TELUGU
    • PYTHON NUMPY TUTORIAL ...
    PYTHON PANDAS TUTORIAL IN TELUGU (తెలుగు లో) || COMPLETE PANDAS TUTORIALS IN TELUGU || DATA SCIENCE
    • PYTHON PANDAS TUTORIAL...
    MATPLOTLIB LIBRARY - PYTHON PROGRAMMING (ENGLISH)
    • MATPLOTLIB LIBRARY - P...
    PYTHON DATABASE CONNECTIVITY - MYSQL & MS-EXCEL
    • PYTHON DATABASE CONNEC...
    DATA STRUCTURES USING PYTHON (ENGLISH)
    • DATA STRUCTURES USING ...
    DevOps
    studio.youtube...
    R PROGRAMMING
    studio.youtube...
    HTML TUTORIALS WITH IMPLEMENTATION || LEARN HTML IN 4 HOURS
    • HTML TUTORIALS WITH IM...
    LEARN CSS IN 3 HOURS || CASCADING STYLE SHEETS FOR BEGINNERS
    • LEARN CSS IN 3 HOURS |...
    JAVA SCRIPT FOR BEGINNERS IN 7 HOURS || LEARN JAVA SCRIPT IN 7 HOURS || JAVA SCRIPT
    • JAVA SCRIPT FOR BEGINN...
    XML (eXtensible Markup Language)
    • XML (eXtensible Markup...
    OPERATING SYSTEM
    • OPERATING SYSTEM
    ETHICAL HACKING
    • Video
    VI EDITOR BASICS IN LINUX / UNIX || LEARN VI EDITOR COMMANDS || LINUX || UNIX
    • VI EDITOR BASICS IN LI...
    HOW TO DOWNLOAD & INSTALL MySQL IN WINDOWS 10
    • HOW TO DOWNLOAD & INST...
    DATABASE MANAGEMENT SYSTEM
    • DATABASE MANAGEMENT SY...
    PYTHON PROGRAMS
    • PYTHON PROGRAMS
    C PROGRAMMING
    • 01 - VARIABLES & CONST...
    ----------------------------------------------------------------------------------------------
    Instagram : / sundeepsaradhikanthety

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

  • @dharmveersharma207
    @dharmveersharma207 2 года назад +46

    This type of teachers we want in our colleges. Thank u so much sir.

  • @mohammadbilal1316
    @mohammadbilal1316 4 года назад +26

    I was trying to understand the oops concept but i could not understand then i saw your java programming playlist and i must say your videos are very helpful for me thank you so much sir for your great explanation God bless you😊

  • @ramanakumar4232
    @ramanakumar4232 3 года назад +9

    *You are doing a social service 💪.
    *You have a great knowledge and passion towards teaching.

  • @slowbrain8869
    @slowbrain8869 5 лет назад +18

    Watched oops concepts and some videos,u explain the topics very easily, ez to understand , God bless you!!

  • @Fnaf-vh9cs
    @Fnaf-vh9cs 3 года назад +5

    this man is amazing , he take it slow , I love the way he teach , only if teachers be like him this field will be more easy, just scoping all over the www don't help because nobody explains right, is not the will of the people to learn wrong is the teachers who don't care.

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

    I will be watching all your videos, you make this stuff much more comprehensive

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

    Hats off to you dedication level sir

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

    Your way of teaching is simple and quite understandable Sir!!!! Superb👌 explanation..... Thank you for your wonderful teachings Sir🙇‍♀🤝

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

    Thank you sir, very straight-forward and simple explanation.

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

    👏🙂
    this is very helpful.
    thanks

  • @user-vt4mg8hy2v
    @user-vt4mg8hy2v 2 месяца назад

    Super nice and simple explanation 👏 sir.. Thank you soo much... 🥰

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

    Thank you so much sir for such a great help to understand the overall concept of java programming language.

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

    Thank you sir .... explained short crisp and clear

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

    i was very inspired to your teaching sir

  • @HrithikEntertainers
    @HrithikEntertainers 4 года назад +4

    wow. sir what a class reyally tnx.

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

    Thank you and easy understand this way of teaching

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

    I think You are the reason why I cleared my confusions about static like what is static It is a keyword or method or variable or block 😢

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

    This helped me to be better and learn faster, thank you so match

  • @KonadaLokesh-v1z
    @KonadaLokesh-v1z Месяц назад +1

    ❤ u sir

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

    Thankuu sir for making a excellent video that clearing my conceprs regarding this topic...

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

    awesome vdo for concept clarity

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

    you make it easy to understand the concepts , Thank you

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

    Thank you so much sir... your class is so simple and easy to understand...👏👏

  • @nikhilnikki6736
    @nikhilnikki6736 7 месяцев назад

    the way u explain the topic is quiet good

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

    U r the best tutor I have ever seen 💖

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

    Thank you sir... Thank you very much....

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

    Understood thank you sir

  • @Raghavendraprasad-wc4wi
    @Raghavendraprasad-wc4wi 4 месяца назад

    Super explanation

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

    excellent lectures

  • @JAMES-qu2co
    @JAMES-qu2co 9 месяцев назад

    Thank you sir you are the best i ever saw

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

    I am always thankful for your lectures it is very useful for me ❤️

  • @umanggodhani1655
    @umanggodhani1655 5 лет назад +6

    Never understood static properly in 3 years of my college life as a cs student until now. I appreciate your work big time, thank you. One question: In order to use static method of variables from other class both class have to be in the same package right?

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

    This dude knows. Thanks man.

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

    👏 great explanation!!! Thank you!

  • @Find_good_song
    @Find_good_song 9 месяцев назад

    Mind blowing teaching sir💯💐💐

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

    nyc one

  • @kusuma-q9y
    @kusuma-q9y 10 дней назад

    can u please make a video of purpose of block, static method and static variable ....in java

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

    Super.. Thank you so much!!

  • @umadevi-yo3yl
    @umadevi-yo3yl Год назад

    Crystal clear thank you somuch 🙏

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

    Thanku sir

  • @ANU-wq4ug
    @ANU-wq4ug Год назад

    Super explanation sir thank you so much 🙏

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

    Thank you so much sir!! Very well explained..

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

    Thank you very much Sir

  • @ShivamSingh-tk5gu
    @ShivamSingh-tk5gu 2 года назад +1

    Nice explain

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

    Very nice

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

    this is best lesson ever

  • @sajramkisho9991
    @sajramkisho9991 4 года назад +4

    see comment readers .there is a mistake in this video .
    while using multiple classes,
    consider this 2 things-------->class_name.variable_name(mentioned in video)
    -------->class_name.method_name(" NOT " mentioned in video)

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

    Super

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

    Sundeep..you videos are great..plz continue good work in selenium also..

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

    Awesome explanation

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

    Thank you so much sir

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

    Tysm Sir for clearing my doubts 🙏

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

    Thanks a lot ❤️

  • @Akash-ec2lw
    @Akash-ec2lw 2 года назад

    👌👌👌👌👌👌👌👌 explanation sir thanks a lot

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

    You are Awesome!!!

  • @user-yd5el7pg1f
    @user-yd5el7pg1f Год назад

    Thx sm sir

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

    thank you it was useful

  • @santhoshp7311
    @santhoshp7311 5 лет назад +20

    i understood every thing sir,but when do we need to use static variables and static methods in program..

    • @tanushsathiyaseelan9428
      @tanushsathiyaseelan9428 3 года назад +9

      Those are methods and variables which can be accessed without creating any objects
      Or
      Accessing the methods or variables without being called explicitly
      It is because if static is missing u will be given an error when compiled. Because u didn't creat an object

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

      I recommend u to check his previous playlists

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

      when u want put data in common u can use static

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

    Thank you sir

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

    very good explanation

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

    pls come to Arab open uni ur explanation is amazing

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

    great work sir thank you
    please start with javascript tutorial

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

    Peng explanation 👌👍.thx a lot sir

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

    Nice Explanation

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

    No 1 teaching sir

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

    Sir.. Your are pure teacher ....your videos are easily understandable... Tq sir

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

    Very neat!

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

    Got it ✅

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

    Inside a method (main) declare static varaibal it is Possible to access static variable inside the state method in java

  • @anandcherian.585
    @anandcherian.585 2 года назад

    thank u sir

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

    You are a god in disguise

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

    Excellent

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

    You have cleared all my doubts that I had in this topic...... Implementation is also helpful....

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

    Super sir .. I am enjoying your classes

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

    How do I pass a value as an argument from the main method(in another class), to set a static variable in another class using setters method. Also how to access a static variable using the getters method of the same class.

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

    Hi Sir, Please make a video on Arrays concept

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

    Great explanation sir

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

    nice explanation ..

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

    Super sir❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️

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

    100% clear sir...

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

    It is easy to Access the static variable static method and all ? Then why we don't use all methods and variable as a static ?

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

    Sir I understand everything... Sir , but what is the use of static void display (); and if we don't use that what will happen..

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

    thanx a lot sir

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

    Hi sir,
    If we write static block in new class then it will execute explicitly? Means without without calling in main method ?

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

    Hii Sir I am from Qspider 🤑🤑

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

    Thanks sir

  • @Rahul-on7cl
    @Rahul-on7cl 7 месяцев назад

    Tq ❤️❤️

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

    Tq somuch sir plz make a video about what is coding?

  • @pavithrajeyaraj2801
    @pavithrajeyaraj2801 4 года назад +5

    Plz suggest me whether we can declare class as static

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

    good sir

  • @SanjuSanju-jl6xw
    @SanjuSanju-jl6xw 2 года назад +1

    Sir DBMS cheyandi sir

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

    Sir please do video on nested classes.

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

    when you run the application the static variables are created or only if once its invoked?

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

    Tomorrow is my exam but I don't care because Sundeep sir is with me.

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

    Sir why static block is displayed 1st after running the program ?

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

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

    Sir can you please clear my doubts... Here is the code
    Private string name;
    Static{
    Name="John"
    }
    Is it correct Or it will through error
    Non static members can be accessed by static methods and vice versa?

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

    In case of instance varaible/method why should we create an object ??

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

    Do tutorials in collections topic sir

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

    Sir is static block equivalent to a default constructor ?? Since both of them execute without calling them ?

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

      Default constructor is created by JVM if you don't define them..it is related with object not class on the other hand static block loaded when class is loaded by a class loader. Both are different.

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

      Static block will be executed when class will be load, default constructor will be executed when you create an object.