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

Why are parameters used in functions?

1078


Why we use methods in java?

1049


How to make a non daemon thread as daemon?

1116


Why do we need array in java?

1055


What about main() method in java ?

1053


What is the maximum size of array in java?

1027


Can we override protected method in java?

1114


How thread scheduler schedule the task?

1103


What are the methods available in a class?

1130


Can a serialized object be transferred via network?

1025


How do you create immutable object in java?

1105


Is singleton a bad practice?

1108


What do you mean by thread safe?

1027


What is the benefit of singleton pattern?

1051


What is a boolean structure?

1134