No video

Types of Variables in Java | Local, Global & Final Variables | Types of Variables in Java Explained

  Рет қаралды 33,735

SoftwaretestingbyMKT

SoftwaretestingbyMKT

Күн бұрын

#43, In this video I have explained about types of variables in java.
Welcome to our video on exploring different types of variables in Java.
Let's start by talking about primitive variables, which are basic data types like int, double, and boolean. These store simple values directly.
Next, we have reference variables, which point to objects in memory. These can be objects of a class or arrays.
Static variables belong to a class rather than an object. They are shared among all instances of the class.
Instance variables, on the other hand, are unique to each instance of a class. They are also known as non-static variables.
Finally, we have local variables, which are declared within a method or block of code. They only exist within that scope.
Understanding these different types of variables is essential in Java programming. Thanks for watching the video. Don't forget to subscribe to our channel for more programming tutorials and tips.
Show your support Guys,
Like, share and subscribe to the channel.
Welcome to our lesson on understanding variables and data types in Java.
Variables are containers used to store data values. In Java, we need to declare the type of variable before we can use it.
There are different data types in Java such as int, double, float, boolean, and String. Each data type has a specific range of values that it can store.
Integers, represented by the int data type, are whole numbers without any decimal points. Doubles and floats are used for storing numbers with decimal points.
Booleans are used to store true or false values, while Strings are used for storing text.
When declaring a variable in Java, we need to follow the syntax: data type, variable name, and an optional initial value.
For example, int myNumber = 10; declares an integer variable named myNumber with an initial value of 10.
Understanding variables and data types is essential for writing efficient and error-free Java programs.
Thank you for watching our video. Don't forget to subscribe to our channel for more programming tutorials.
Watch my other videos too,
Derived model in software development life cycle video link
• Derived Model in Softw...
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
how many types of variables in java,java,java tutorial,variables in java,java variables,java programming,instance variable in java,types of variables in java by learn coding,what are the types of variables in java,instance variables in java,local variables in java,local variable in java,variables,static variable in java,java tutorial for beginners,instance variable,learn java,java local variable,explain java variables in hindi,difference between local and static variables in java,local vs static vs instance variables in java,all about java variables in hindi,java static variable,types of java variables,types of variables in hindi,types of variables,java interview questions,java basics,java tutorials,static variables,java for absolute beginners,java full course,core java tutorial,local variable,static variable,variables java,how to learn java in hindi,difference between local and instance variables in java,local and instance variables in java,local vs instance variables in java,what are local variables in java,local vs instance variables,what are instance variables,learn java programming in hindi,local variable in hindi,learn variables in hindi,instance variables in hindi,static variables in hindi,static variables in java,best industrial training,variables in hindi,variables in java in hindi,6 months industrial training in chandigarh,java tutorials by deepak,6 months industrial training,java tutorials in hindi,java by deepak,java programming by yadagiri reddy,non static variable in java,what is a variable,parameters in java,global variable in java,h y r tutorials,variable declaration in java,javac,learn coding,data types,global variable,deepak panwar,deepak java,smart programming,java deepak,hyr tutorials,data types in java,java data types,java for beginners,types of variables in java

Пікірлер: 71
@lubanatafzeel273
@lubanatafzeel273 2 жыл бұрын
Your teaching technique is very nice thanx for uploading software testing course 👍
@bageshreeful
@bageshreeful 3 жыл бұрын
Good Instructor the way he explains.
@user-ni4bo4pi8p
@user-ni4bo4pi8p 4 ай бұрын
U r great and awesome explanation sir...today I got a clear picture of this topic sir..
@SoftwaretestingbyMKT
@SoftwaretestingbyMKT 4 ай бұрын
Thanks and welcome
@bakigbolahan6423
@bakigbolahan6423 5 ай бұрын
I love your teaching❤
@SoftwaretestingbyMKT
@SoftwaretestingbyMKT 4 ай бұрын
Thank you! 😃
@jayakarsappogu7301
@jayakarsappogu7301 2 жыл бұрын
sir ur way of explanation is very very easy to understand 🙏🙏🙏
@shaikkarim4991
@shaikkarim4991 Жыл бұрын
Hello my name afthar I am watching your video I like it and easy to understand
@mohammedkaif5223
@mohammedkaif5223 2 жыл бұрын
i loved your teaching way sir
@shrutim3234
@shrutim3234 2 жыл бұрын
Sir , i must say you have aced the skill of teaching !!!
@vamsimogili954
@vamsimogili954 4 жыл бұрын
bro ur videos super tq
@SoftwaretestingbyMKT
@SoftwaretestingbyMKT 4 жыл бұрын
Thanks a lot 🙏
@lepakshirh7419
@lepakshirh7419 2 жыл бұрын
Super thank you so much sir keep teaching us sir I will watch ur videos frequently whenever I get free time to watch thanks for explanation 💐🤝🤝
@sachinm4097
@sachinm4097 Жыл бұрын
Love from karnataka 😃
@aneethms675
@aneethms675 2 жыл бұрын
Well explained sir ,its helpful 😍
@muktanesaragi8340
@muktanesaragi8340 Жыл бұрын
Firstly thanku so much🙏 U explaining very well... Please can u do all the concepts off Java
@meghanasri4206
@meghanasri4206 4 жыл бұрын
Explain with real time scenario then we can understand concept still more in a better way .
@nikocreed8244
@nikocreed8244 3 жыл бұрын
Dont know if anyone gives a shit but if you are stoned like me during the covid times you can stream pretty much all of the new movies and series on InstaFlixxer. Been binge watching with my brother recently =)
@flynngatlin5310
@flynngatlin5310 3 жыл бұрын
@Niko Creed Yea, been using Instaflixxer for years myself :)
@amitkumardas4735
@amitkumardas4735 3 жыл бұрын
Lots of learn from your video sir
@imbukwa
@imbukwa Жыл бұрын
Thank you very much.
@danishuddin9752
@danishuddin9752 2 жыл бұрын
Good explanation sir thank you!
@dhmilan6077
@dhmilan6077 2 жыл бұрын
OH nice I never understand it where I was in college...
@sonyveer1
@sonyveer1 3 жыл бұрын
Very well explained...superb
@atkuriajaykumar3701
@atkuriajaykumar3701 3 жыл бұрын
sir you are genius
@SoftwaretestingbyMKT
@SoftwaretestingbyMKT 3 жыл бұрын
❤❤
@laxmikanth534
@laxmikanth534 4 жыл бұрын
thanks for providing videos for java bro..excellent teaching..what is the 8th video u have uploaded bro?it is showing as private video
@SoftwaretestingbyMKT
@SoftwaretestingbyMKT 4 жыл бұрын
Welcome buddy. Are you still facing this? Because others are able to access.
@sowmyadadsprincesskitchen8513
@sowmyadadsprincesskitchen8513 2 жыл бұрын
Awesome explanation sir
@SoftwaretestingbyMKT
@SoftwaretestingbyMKT 2 жыл бұрын
Thank you
@surbhibishnoi1784
@surbhibishnoi1784 Жыл бұрын
very nice explaination
@markapuramhari
@markapuramhari 3 жыл бұрын
Thank you for the nice video....
@izmechandu0079
@izmechandu0079 2 жыл бұрын
Please do python full with selenium automation testing bro it's helpful of us waiting for ur reply thnks
@seemasingraul4063
@seemasingraul4063 2 жыл бұрын
Thank you so much
@SoftwaretestingbyMKT
@SoftwaretestingbyMKT 2 жыл бұрын
Thank you
@seemasingraul4063
@seemasingraul4063 2 жыл бұрын
@@SoftwaretestingbyMKT Do you teach JavaScript as well ?
@babymira_80.55
@babymira_80.55 2 жыл бұрын
Sir whole OOPs concept please 🙏 it's too important
@RajaRaj-du6zm
@RajaRaj-du6zm 3 жыл бұрын
Nice tutorial
@zarazianazane7651
@zarazianazane7651 2 жыл бұрын
Excellent
@SoftwaretestingbyMKT
@SoftwaretestingbyMKT 2 жыл бұрын
Thank you
@Shiny-potato123
@Shiny-potato123 3 жыл бұрын
sir , in global var we have static and instace var. does instance var means non-static?
@rupeshshivankar9871
@rupeshshivankar9871 2 жыл бұрын
Ys
@tejasvimunimakula1287
@tejasvimunimakula1287 3 жыл бұрын
can we use final static at the same time??i mean "Final static"
@OptionTrader91
@OptionTrader91 2 жыл бұрын
As you explained in Variable and Data Video Lecture. that every datatype has different value. You write a progress in this video where you wrote. int a = 60; But Byte can store -128 to 127. So can we write Byte in place of int
@SoftwaretestingbyMKT
@SoftwaretestingbyMKT 2 жыл бұрын
Exactly we can
@OptionTrader91
@OptionTrader91 2 жыл бұрын
@@SoftwaretestingbyMKT okay thanks
@krishnahiwale573
@krishnahiwale573 2 жыл бұрын
Where so we use static variable and instance variable practically
@ribasoul
@ribasoul Жыл бұрын
On point
@arunsabee2628
@arunsabee2628 2 жыл бұрын
For final variable whether we can use static?? Little confusing
@nani-tb6dh
@nani-tb6dh 3 жыл бұрын
Great
@priyankasalunkhe4782
@priyankasalunkhe4782 Жыл бұрын
Can we have unassigned final variable?
@srinivasradhakrishnan6573
@srinivasradhakrishnan6573 3 жыл бұрын
Wat is the difference between static and instance?
@malnadshrusti3576
@malnadshrusti3576 3 жыл бұрын
💯✌
@arati5764
@arati5764 3 жыл бұрын
Sir is Instance Variable also known as Non-static variable?
@rupeshshivankar9871
@rupeshshivankar9871 2 жыл бұрын
Ys
@suganyavasudevan2261
@suganyavasudevan2261 9 ай бұрын
What is static variable if we mention static what it mean
@kmbhanuprasadgoud
@kmbhanuprasadgoud 3 жыл бұрын
Add collection topic in java playlist videos
@SoftwaretestingbyMKT
@SoftwaretestingbyMKT 3 жыл бұрын
Coming soon
@arunsabee2628
@arunsabee2628 2 жыл бұрын
For final variable whether we can use static??
@sanjeevchippalkatti5586
@sanjeevchippalkatti5586 2 жыл бұрын
Yes you have to use static or else you will get error as "non-static variable a cannot be referenced from a static context"
@laxmikanth534
@laxmikanth534 4 жыл бұрын
Yaa bro still facing the same promblem..which concept you have uploaded?iam unable to watch the video
@SoftwaretestingbyMKT
@SoftwaretestingbyMKT 4 жыл бұрын
But this video is my 8th video of java and you are able to see this video right? No videos are private on my channel , all are public. More videos are yet to come. 😀
@laxmikanth534
@laxmikanth534 4 жыл бұрын
Yaa 8th video,Able to see..but cant play the video
@SoftwaretestingbyMKT
@SoftwaretestingbyMKT 4 жыл бұрын
Not sure why buddy. Because other are able to see it. 🤨
@laxmikanth534
@laxmikanth534 4 жыл бұрын
Bro can u tell me the topic which have uploaded ?so that i can read that concept through other websites..i dont want to miss u r any topics
@SoftwaretestingbyMKT
@SoftwaretestingbyMKT 4 жыл бұрын
It is types of variables in java. Can you please share the issue screenshot to my mail id mkumartiwari1710@gmail.com
@niharbuu4429
@niharbuu4429 4 жыл бұрын
Hi sir I am getting confuse what is static and Nonstatic ? Please elaborate it..
@SoftwaretestingbyMKT
@SoftwaretestingbyMKT 4 жыл бұрын
Video is coming soon. Will let you know once I upload video.
@niharbuu4429
@niharbuu4429 4 жыл бұрын
@@SoftwaretestingbyMKT Thank you..
Variable and Datatype in Java | Java Variables and Data Types with EXAMPLE
11:29
Blue Food VS Red Food Emoji Mukbang
00:33
MOOMOO STUDIO [무무 스튜디오]
Рет қаралды 17 МЛН
Schoolboy Runaway в реальной жизни🤣@onLI_gAmeS
00:31
МишАня
Рет қаралды 4 МЛН
Чёрная ДЫРА 🕳️ | WICSUR #shorts
00:49
Бискас
Рет қаралды 6 МЛН
This calling statement in Java or this()
14:27
SoftwaretestingbyMKT
Рет қаралды 17 М.
If Else statement in Java | Learn Java
19:43
SoftwaretestingbyMKT
Рет қаралды 8 М.
Instance vs Local Variables in Java | Types of Variables in Java
33:09
Method Overriding in Java | Java Tutorials | Learn Java for Automation Testing
13:27
Static vs Non-Static Variables and Methods In Java - Full Simple Tutorial
11:29
Non-Parameter super calling statement | Learn Java
10:18
SoftwaretestingbyMKT
Рет қаралды 8 М.
Var in Java | New Java 10 Feature
9:48
Telusko
Рет қаралды 44 М.
Blue Food VS Red Food Emoji Mukbang
00:33
MOOMOO STUDIO [무무 스튜디오]
Рет қаралды 17 МЛН