What is the difference between heap and stack memory?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

Marker interface means , interface which has no methods.Then what is the necessity of its usage.I read "it tells the compiler that it should be treated differently ". "It is used to store state of an object". But still am not clear.Please explain clearly.

2 Answers  


Which method you will use to create a new file to store some log data. Each time a new log entry is necessary, write string to the file in java ?

0 Answers   HCL,


Can we use string in the switch case?

0 Answers  


What is internal variable?

0 Answers  


what is the use of clone method? why user cant overwrite in sub class without its proper defination.

2 Answers   TCS,






What is the difference in between cpp and java? Can u explain in detail?

0 Answers  


What is an class?

0 Answers  


What is anti pattern in cyber security?

0 Answers  


How to compare strings in java?

0 Answers  


Is hashset sorted in java?

0 Answers  


What do heavy weight components mean in java programming?

0 Answers  


How do singleton patterns work?

0 Answers  


Categories