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
This type of teachers we want in our colleges. Thank u so much sir.
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😊
Did you finish the playlist
*You are doing a social service 💪.
*You have a great knowledge and passion towards teaching.
Watched oops concepts and some videos,u explain the topics very easily, ez to understand , God bless you!!
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.
I will be watching all your videos, you make this stuff much more comprehensive
Hats off to you dedication level sir
Your way of teaching is simple and quite understandable Sir!!!! Superb👌 explanation..... Thank you for your wonderful teachings Sir🙇♀🤝
Thank you sir, very straight-forward and simple explanation.
👏🙂
this is very helpful.
thanks
Super nice and simple explanation 👏 sir.. Thank you soo much... 🥰
Thank you so much sir for such a great help to understand the overall concept of java programming language.
Thank you sir .... explained short crisp and clear
i was very inspired to your teaching sir
wow. sir what a class reyally tnx.
Thank you and easy understand this way of teaching
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 😢
This helped me to be better and learn faster, thank you so match
❤ u sir
Thankuu sir for making a excellent video that clearing my conceprs regarding this topic...
awesome vdo for concept clarity
you make it easy to understand the concepts , Thank you
Thank you so much sir... your class is so simple and easy to understand...👏👏
the way u explain the topic is quiet good
U r the best tutor I have ever seen 💖
Thank you sir... Thank you very much....
Understood thank you sir
Super explanation
excellent lectures
Thank you sir you are the best i ever saw
I am always thankful for your lectures it is very useful for me ❤️
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?
Yes
This dude knows. Thanks man.
👏 great explanation!!! Thank you!
Mind blowing teaching sir💯💐💐
nyc one
can u please make a video of purpose of block, static method and static variable ....in java
Super.. Thank you so much!!
Crystal clear thank you somuch 🙏
Thanku sir
Super explanation sir thank you so much 🙏
Thank you so much sir!! Very well explained..
Thank you very much Sir
Nice explain
Very nice
this is best lesson ever
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)
Super
Sundeep..you videos are great..plz continue good work in selenium also..
Awesome explanation
Thank you so much sir
Tysm Sir for clearing my doubts 🙏
Thanks a lot ❤️
👌👌👌👌👌👌👌👌 explanation sir thanks a lot
You are Awesome!!!
Thx sm sir
thank you it was useful
i understood every thing sir,but when do we need to use static variables and static methods in program..
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
I recommend u to check his previous playlists
when u want put data in common u can use static
Thank you sir
very good explanation
pls come to Arab open uni ur explanation is amazing
great work sir thank you
please start with javascript tutorial
Peng explanation 👌👍.thx a lot sir
Nice Explanation
No 1 teaching sir
Sir.. Your are pure teacher ....your videos are easily understandable... Tq sir
Very neat!
Got it ✅
Inside a method (main) declare static varaibal it is Possible to access static variable inside the state method in java
thank u sir
You are a god in disguise
Excellent
You have cleared all my doubts that I had in this topic...... Implementation is also helpful....
Super sir .. I am enjoying your classes
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.
Hi Sir, Please make a video on Arrays concept
Great explanation sir
nice explanation ..
Super sir❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️
100% clear sir...
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 ?
Sir I understand everything... Sir , but what is the use of static void display (); and if we don't use that what will happen..
thanx a lot sir
Hi sir,
If we write static block in new class then it will execute explicitly? Means without without calling in main method ?
Hii Sir I am from Qspider 🤑🤑
Thanks sir
Tq ❤️❤️
Tq somuch sir plz make a video about what is coding?
Plz suggest me whether we can declare class as static
Again go through the example 5:30😐
good sir
Sir DBMS cheyandi sir
Sir please do video on nested classes.
when you run the application the static variables are created or only if once its invoked?
Tomorrow is my exam but I don't care because Sundeep sir is with me.
Hi
All the very best for your exams
Thanks for your support towards our channel.
Thankyou sir
Sir why static block is displayed 1st after running the program ?
❤
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?
i think u have to say String name="jhon";
In case of instance varaible/method why should we create an object ??
Do tutorials in collections topic sir
Sir is static block equivalent to a default constructor ?? Since both of them execute without calling them ?
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.
Static block will be executed when class will be load, default constructor will be executed when you create an object.