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

Why do we create threads in java?

804


What is the escape character in java?

730


Why java is object oriented?

789


Explain JMS in detail.

811


what is thread? What are the high-level thread states? Or what are the states associated in the thread? : Java thread

761


Why stringbuilder is not thread safe?

769


What are the high-level thread states in java programming?

833


what is recursion in java

807


What is e in java?

730


When we serialize an object does the serialization mechanism saves its references too?

724


What is a void in java?

790


What do you understand by garbage collection in Java? Can it be forced to run?

751


How do you clear a list in java?

811


Are true and false keywords?

790


what do you mean by marker interface in java?

760