. Differentiate between instance and local variables.
Answer / nashiinformaticssolutions
For instance, variables are declared inside a class, and the limited to only a specific object.
A local variable can be anywhere inside a method or a specific block of code. Also, the scope is limited to the code segment where the variable is declared.
Is This Answer Correct ? | 0 Yes | 0 No |
Why java Don't Support Multiple interitence
What is get () in java?
What do you mean by Remote procedure call?
What are the features in java?
Mention some interfaces implemented by linked list in java.
Can we have any code between try and catch blocks?
Difference between error and exception
Can constructor be static or final?
What’s the difference between callable and runnable?
What is meant by Encapsulation? Can you write a class to explain encapsulation?
Why stringbuilder is not thread safe in java?
How to pass arraylist to stored procedure in java?