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 difference between iterator and enumeration ?

966


How to add menushortcut to menu item?

954


What is a null check?

941


What is object data type?

957


Can a class be protected in java?

925


How will you invoke any external process in java?

1058


What are advantages and disadvantages of OOPs?

1070


What is class forname?

955


Does sprintf allocate memory?

1053


Difference between doublesummarystatistics, intsummarystatistics and longsummarystatistics ?

949


Can inner class have constructor?

1000


What are the advantages of java?

937


List some features of the abstract class.

1005


Is java owned by oracle?

961


What is module in oop?

965