Рет қаралды 26,336
#48, In this video I have explained about Static and Non Static Variables in Java.
Show your support Guys,
Like, share and subscribe to the channel.
In Java, variables can be classified as either static or non-static.Static variables belong to the class itself rather than any particular instance of the class. They are shared among all instances of the class.
Non-static variables, on the other hand, are specific to each instance of the class.
They are also known as instance variables.
Static variables are declared using the static keyword, while non-static variables are declared without it.
Static variables are initialized only once at the start of the program, while non-static variables are initialized each time an instance of the class is created.
Accessing static variables does not require an object of the class, while accessing non-static variables does.
Static variables are useful for defining constants, while non-static variables are used for defining attributes of an object.
Understanding the difference between static and non-static variables is crucial for effective Java programming.
Thanks for watching the video, and don't forget to subscribe to our channel for more Java programming tutorials.
Watch my other videos too,
Derived model in software development life cycle video link
• Derived Model in Softw...
Prototype model in software development life cycle video link
• Prototype Model in SDL...
Spiral model in software development life cycle video link
• Spiral Model in SDLC, ...
Verification and Validation in software development life cycle video
• Verification and Valid...
Hybrid model in software development life cycle video video
• Hybrid Model in Softwa...
Waterfall model in software development video link
• Stages of Requirements...
Software development life cycle video link
• Software Development L...
What is manual testing, it's advantages and disadvantages video link
• What is Manual Testing...
What is Software testing video link
• What is Software Testi...
I work in the IT industry as a Software QA Engineer in Bangalore, India and I have worked on mobile applications, web applications, and API testing.
The main reason behind this channel is to educate people about software testing so that it will helpful for them to choose the right career and also to prepare for their interviews.
Adding my blog link
softwaretesting...
Adding my personal mail Id:
mkumartiwari1710@gmail.com
Adding my Quora profile link here:
www.quora.com/...
Adding my Twitter account here,
(@MANISH171094): / manish171094
java,handling static and non static variables in java,static variable in java,static,static methods,static variable,static keyword in java,java for beginners,java programming,java tutorial for beginners,static keyword,java tutorial,java static,non static variable in java,java basics,static variables,static method in java,java static keyword,static method,static and non static in java,learn java,static in java,static variables in java,non static method in java,static block,software testing,java full course,java theory and practical,static and non static variable in java,learn java online,java best tutorial,software testing material,java static methods,what is static in java,class,object,navin,telusko,reddy,softwaretestingbymkt,core java,api testing,manual testing,automation testing,instance variable,java interview questions,static methods in java,java programming for beginners,how to use static in java,static java tutorial,static block in java,static and non static method in java,java static method,java non static method,static and non static variables in java