What is outofmemoryerror in java?


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

Post New Answer

More Core Java Interview Questions

What is class and object in java?

0 Answers  


what happens when we add the objects morethan the size limit to a hashmap

1 Answers  


What is a predicate method?

0 Answers  


What sorting algorithm does javascript use?

0 Answers  


public class Garbage { int a=0; public void add() { int c=10+20; System.out.println(c); System.out.println(a); } public static void main(String args[]) { Garbage obj=new Garbage(); System.gc(); System.out.println("Garbage Collected"); obj.add(); } } Above is a code in java used for garbage collection. object obj has been created for the class Garbage and system.gc method is called. Then using that object add method is called.System.gc method if called the obj should be garbage collected?

6 Answers  


What is boolean query?

0 Answers  


Hi Friends, can u give code to convert ArrayList to HashMap and HashMap to ArrayList.

1 Answers  


How do you create a first line indent?

0 Answers  


What is meant by throwing an Exception?

4 Answers   Accenture,


Is linkedlist thread safe in java?

0 Answers  


What is continuity of a function?

0 Answers  


Explain the public class modifier?

0 Answers  


Categories