where final and static variable stored?

Answer Posted / sadikhasan palsaniya

Code of method and constructor or static and final field of
the class are store in "Method Area" which is non heap Memory.

Is This Answer Correct ?    19 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How are variables stored?

756


Define "Access specifiers" in java.

954


What is boolean false?

758


Which is faster string or stringbuilder?

724


How do you make a thread in java?

846


I want my class to be developed in such a way that no other class (even derived class) can create its objects. Define how can I do so?

930


Why is boolean important?

815


What is a ?

976


What is instanceof keyword?

969


What is constructor in java ?

857


Explain how to convert any java object into byte array.

765


What are the 6 mandatory procedures for iso 9001?

749


How do generics work?

728


Does java support Operator Overloading?

837


Name few java 8 annotations ?

808