Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Static Variable can referred in non-static method?

Answer Posted / rableen khurana

Yes we can access static variable in non-static
methods....and we can access instance variable in static
method also with the help of object......

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the super void?

896


What is string immutability?

1096


How do you define a method?

974


What is difference between local variable and global variable?

1008


What is the purpose of using break in each case of switch statement?

1022


What are the six ways to use this keyword?

1055


What is gui programming?

1021


What is meant by main method?

1053


What are the wrapped, classes?

1046


Which container method is used to cause a container to be laid out and redisplayed in java programming?

1095


What is difference between string and stringbuffer?

1084


What is the difference between hashset and treeset in java?

1054


I want my class to be developed in such a way that no other class (even derived class) can create its objects. Define how can I do so?

1164


Are arrays primitive data types?

1173


What are the features of java?

1067