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
Write an algorithm program in java for the following question.. 1) S is a set of integers.X is an integer obtained by sum of two digits in S. Write logic for whether or not the X is from the S. The time of algorithm should not exceed o(n logn).
What are classloaders?
What is bifunction in java?
Java is pass by value or pass by reference? Explain
java program with complete 4 oops concepts implemented example
How do I get the | symbol on my keyboard?
Explain exception chaining in java?
Does treeset allow null in java?
What is stack explain?
What is your platform?s default character encoding and how to know this?
What is string and example?
Can classes declared using the abstract keyword cab be instantiated?
How to instantiate member inner class?
What are the features of java?
Why do we use bufferedreader?