where final and static variable stored?

Answer Posted / pradeep reddy

Final and staic variable is stored in Method area which even stores the class structure like method,constructor and static fields.Method area is a non heap memory.

Is This Answer Correct ?    8 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is static keyword?

685


What does @param args mean in java?

656


How do you sort a string in java?

615


Can we serialize singleton class?

640


what is recursion in java

678






Which package is used for pattern matching with regular expressions?

728


What are the advantages of encapsulation in java?

633


Is java still necessary?

721


Which is the best sorting technique in java?

618


How is Object Oriented Programming different from Procedure Oriented Programming?

699


What is the order of arraylist in java?

709


Explain about oops concepts.

730


What is object class in java?

574


What is a dynamic array in java?

657


What is the difference between a static and a non-static inner class in java programming?

624