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

What is an example of procedure?

523


What are serialization and deserialization?

743


Why there are some null interface in java? What does it mean?

653


What is a class in java?

591


Why is a singleton bad?

570






What does n mean?

528


What is a short in java?

514


How do you calculate square roots?

585


How do you get length in java?

570


What is the return type of the main method?

590


Write an algorithm program in java for the following question.. In a VLSI design techniques,they used rectangles to design circuits. EVery rectangle is to be placed according to x,y coordinates. Check whether or not two rectangles overlap each other. Here overlapping of rectangles is acceptable, if 1) one rectangle intersect with other. 2) one rectangle fully covers other. The time of algorithm should not exceed o(n logn).

2247


What mechanism does java use for memory management?

504


what do you understand by synchronization? Or what is synchronization and why is it important? Or describe synchronization in respect to multithreading? Or what is synchronization? : Java thread

498


Can you explain the final method modifier?

579


What's the purpose of using break in each case of switch statement?

518