What is the role of garbage collector in java?


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

Post New Answer

More Core Java Interview Questions

Difference between concurrent hashmap and hashtable and collections

0 Answers  


Why are strings immutable in Java?

1 Answers  


What are the topics in advance java?

0 Answers  


Why are functions called methods in java?

0 Answers  


What are the two ways to create a thread?

0 Answers  






What do you mean by an object in java?

0 Answers  


Why do we use threads in java?

0 Answers  


How do you differentiate abstract class from interface?

0 Answers  


11. static class A { 12. void process() throws Exception { throw new Exception(); } 13. } 14. static class B extends A { 15. void process() { System.out.println(”B”); } 16. } 17. public static void main(String[] args) { 18. new B().process(); 19. } What is the result? 1 B 2 The code runs with no output. 3 Compilation fails because of an error in line 12. 4 Compilation fails because of an error in line 15.

6 Answers  


Which is better list or arraylist in java?

0 Answers  


What do you mean by boolean?

0 Answers  


Why for each loop is used?

0 Answers  


Categories