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?

Answers were Sorted based on User's Feedback



Static Variable can referred in non-static method?..

Answer / nagarajan.s

yes,In Java static Variable can referred in non-static method,
but static method cannot referred non-static variable

Is This Answer Correct ?    19 Yes 1 No

Static Variable can referred in non-static method?..

Answer / 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

Static Variable can referred in non-static method?..

Answer / brijendra kumar soni(xavient)

No,In Java Non static method can not permitted the staic
variable.

Is This Answer Correct ?    0 Yes 17 No

Post New Answer

More Core Java Interview Questions

how you will prevent inheritance is there any other way other than inheritance?

4 Answers   Wipro,


Nested classes VS Inner classes?

3 Answers   Infosys,


How do you delete a list in java?

0 Answers  


What is an enumeration class?

2 Answers  


Why java doesn’t support multiple inheritances?

0 Answers  


Explain purpose of sleep() method in java?

0 Answers  


Can an integer be null java?

0 Answers  


What is the use of private static?

0 Answers  


For ease of programming you can consider the maze as a 2D array with colors represented by below integer and characters (in capital letters). • B - Black • W -White • G- Green • R- Red R B W B W W W W W W B W B B W W W W W W W B W B W W W B W W W W B B W W W B W W W B W W B B B B W B W B W W B W W W B W W W B B B W W B W W W B W W B W B W W W B W B W W W W B B W W W W B W W W W W G Shortest Route Problem: • Solution that finds the shortest Route between Red and Green &#61607; White will have 1 Weight. &#61607; Red and Green carry no weights. &#61607; Shortest path is the path with less weight when you add up the weights in the path.

0 Answers  


What is the protocol is used in type4 driver?

4 Answers   CMC,


when a servlet sends request for first time it uses the follwing methods a)init b)doget() c)dopost() d)service

4 Answers   Accenture,


What are the steps to do connection pooling in weblogic?

1 Answers   TCS,


Categories