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 are the different http methods?

976


How do you identify if jvm is 32-bit or 64-bit from java program?

910


Why bytecode is called bytecode?

1093


Is it possible to specify multiple jndi names when deploying an ejb?

938


How are destructors defined in java?

988


What does t in java mean?

941


What are the data types supported by java? What is autoboxing and unboxing?

933


What is the difference in between cpp and java? Can u explain in detail?

1027


What is polymorphism and what are the types of it?

941


What is static class

1053


What are the restrictions imposed on method overriding?

961


How is final different from finally and finalize?

863


What is the use of singleton class?

904


What is arrays fill in java?

947


Is a case study a method or methodology?

848