Static Variable can referred in non-static method?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
how you will prevent inheritance is there any other way other than inheritance?
Nested classes VS Inner classes?
How do you delete a list in java?
What is an enumeration class?
Why java doesn’t support multiple inheritances?
Explain purpose of sleep() method in java?
Can an integer be null java?
What is the use of private static?
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  White will have 1 Weight.  Red and Green carry no weights.  Shortest path is the path with less weight when you add up the weights in the path.
What is the protocol is used in type4 driver?
when a servlet sends request for first time it uses the follwing methods a)init b)doget() c)dopost() d)service
What are the steps to do connection pooling in weblogic?