What is the difference between static and non-static
variables?
Answer Posted / pravallika
in case of static variables memory can be allocated only at once and these variables can access with help of class name but where as non static variables have memory can be allocated in separate locations.And these variables can access with help of object
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Explain about sets?
What is a programming object?
How many inner classes can a class have?
What do you mean by a JVM?
Tell me a few examples of final classes defined in Java API?
What is set in java?
Which software is used for java programming?
Say any two properties in beans?
How can you handle java exceptions?
What is variable in java?
How do you use nextline in java?
when to use ArrayList and when to use HashMap in webApplication.
why using interface interface ?
Why do we use return statement?
What is yield () in java?