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

What is the main use of generics in java?

508


What do you understand by abstract classes?

596


Which methods are used during serialization and deserialization process?

550


What is a programming object?

554


Which data type is a class in java?

569






Why java is made?

561


Is array a class in java?

501


What is a class in java?

578


What is the difference between import java.util.date and java .util?

565


Can you extend singleton class?

598


Difference between string, string builder, and string buffer?

524


Difference between final and effectively final ? Why is effectively final even required ?

552


Can we serialize static variables in java?

649


What is java virtual machine? Explain

564


Garbage collection in java?

587