Global Variable Scope in Java | Types of Variable in Java | Automation Testing Interview Question

preview_player
Показать описание

Please fill out the above form to join any course of mine with a discount
You can also call us at +91 8009900785

Join this channel to get access to the perks:

Like, share and subscribe to the channel.
API Testing Playlist

Core Java Playlist

Selenium Playlist

Manual testing Playlist

Watch my other videos too,
Inheritance in Java video

Single level inheritance video

Multi Level Inheritance in Java video

Hierarchical Level Inheritance in Java video

Hybrid Level Inheritance in Java video

Method Overloading in Java video

This calling statement in Java or this() video

Constructor Overloading in Java video

Constructor in Java video

Static and Non Static Variables in Java video

How to Create an Object in Java & Handing non Static method video

Multiple static methods inside a single Class | How to deal it?

Methods in Java | What exactly is public static void main(String[] args)

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

Variable and Datatype in Java

Easy way to run a program in Java | First program in Java

Class and Object in java

50 Keywords in Java

Tokens in Java

How Java internally works?| Compilation & Interpretation

Introduction to Java | History of Java |Features of Java
Derived model in software development life cycle video link

Prototype model in software development life cycle video link

Spiral model in software development life cycle video link

Verification and Validation in software development life cycle video

Hybrid model in software development life cycle video video

Waterfall model in software development video link

Software development life cycle video link

What is manual testing, it's advantages and disadvantages video link

What is Software testing video link

I work in the IT industry as a Senior 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

Adding my personal mail Id:

Adding my Quora profile link here:

Adding my Twitter account here,
or
Facebook Page:

Join us on Telegram today,
SoftwaretestingbyMKT
For the latest update on software jobs and to discuss each and everything about Software Testing also get an opportunity to get on an audio/video call with me directly to you.
I make videos on daily basics and also help student all over the world for FREE. If my videos are helpful in anyway help "SoftwaretestingbyMKT" reach billions by supporting
OR
Рекомендации по теме
Комментарии
Автор

This is wrong statement because scope of global variable is from starting of class to end of class

Itsme_Saku
Автор

Global variable is visible for all in class but local veriable is visible only in a method outside a method is not visible

akasht.
Автор

Global variables can be used in any of the methods which were bounded inside the class

aditya_kittu
Автор

The scope of Global variable is from start of class till the end of class.

vishalsawant_
Автор

The scope of global variables only in the class body or outside a method body.

parikshitoza
Автор

No, since this is public we can use that variable even to next package by extending that class

infowithkoushik
Автор

The scope of global Variable Begning of the class till and of the class

deepakkamble
Автор

No.... It is wrong statement,
Because scope global variable inside class means start from class and ends with class and this variable is applicable to all the methods inside the class
As you say the scope within method is local variable because its scope is within method is not used after boundaries of methods

avinashkhadatkar
Автор

It is a wrong statement. Scope of a global variable is from starting of the class till end of the class.

sourabherram
Автор

It's a wrong statement. The scope is from the starting of class till the end of the class .

angelaisha
Автор

global variable concept is not there in java it is in C programming. java has only instance variable, local variable and static variable

Mustaq
Автор

Wrong statement the scope of the global variable is starting of the class to end of the class

aravindanadobila
Автор

This is wrong statement scope of global variables is limited to same class if it is declared as a class level

Maheshdy
Автор

Your statement is wrong, scop of a global variable is applicable for every method inside a class not for perticular method.

kanakaiahr
Автор

No ....that is applicable for local variable

knjaswanthi
Автор

Wrong!!..This is applicable to only Local variables.

prashantdubey
Автор

The scope of Global variable is from start of class till the end of class.

MansurMughnee-ti
Автор

Wrong statement..bcoz global variable is from starting of the class to end of the class.

gunjanmangal
Автор

Wrong statement
Scope of global variable is starting of the class and end of the particular class

juniorrane
visit shbcf.ru