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

How is a variable stored in memory?

1008


What is meant by javabeans?

1090


Can we have 2 main methods in java class?

1023


What design pattern you have used in your project? I answered Factory pattern, how it is implemented? What are its advantage? Do know about Abstract Factory?

2505


What do you mean by composition in java?

1024


What are the advantages and disadvantages of reference counting in garbage collection?

1028


What are operators and its types?

1066


When throw keyword is used?

1068


What are the special characters?

970


What is difference between protected and private?

1074


What is a map? What are the implementations of map?

1093


What do you mean by synchronized non access modifier?

995


What is a null check?

1011


What is the difference between jdk, jre, and jvm?

1116


What do you mean by inner class in java?

1086