What are field variable and local variable?

Answer Posted / monoranjan gorai

Field Variable is a member of a class whereas Local Variable is a member of a method.

Is This Answer Correct ?    4 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you do math powers in java?

801


Is an array a vector?

735


what is recursion in java

801


What is the constructor?

798


Can you pass by reference in java?

722


What is parse method?

740


Can extern variables be initialized?

679


What is the benefit of abstract class?

700


Why does java not support operator overloading?

890


Where and how can you use a private constructor?

736


Can you sort a string in java?

676


What is the primary benefit of encapsulation?

765


How do you clear a method in java?

729


What are the features of junit?

811


Name few "optional" classes introduced with java 8 ?

862