Answer Posted / ravikiran(aptech mumbai)
field variable is the one which can have different access
local variable access restict to method only
| Is This Answer Correct ? | 8 Yes | 9 No |
Post New Answer View All Answers
What is the difference between synchronized and synchronized block?
What is the default value of float and double datatype in java?
What are the different ways of implementing thread? Which one is more advantageous?
What is difference between static and abstract class?
When is finally block not called?
I want to print “hello” even before main is executed. How will you acheive that?
What is a values collection view ?
Why is it called a string?
How do you compare characters in java?
Is it possible to cast an int value into a byte variable? What would happen if the value of int is larger than byte?
what is optional in java 8?
What do you understand by access specifiers in Java?
What is the difference between hashmap and hashtable? What is an interface?
When should we create our own custom exception classes?
Can a class have a static inner class?