What part of memory - Stack or Heap - is cleaned in the garbage collection process?
Answer / nashiinformaticssolutions
On Heap memory, garbage collection is employed to release the memory used by objects with no references. Every object created in the Heap space has access to the entire application and may be referred to from anywhere.
| Is This Answer Correct ? | 0 Yes | 0 No |
public class Base { public void myMethod(int a,intb) {} } // Uses myMethod and then hides it. public class DerivedOne extends Base { private void myMethod(int a,int b); } will this compile or not .yes or no. why
What is the exact difference in between Unicast and Multicast object? Where will it be used?
What does localhost mean?
What is method overloading in JAVA? Why is it not present in C ?
0 Answers Akamai Technologies,
What is string [] java?
Why does java does not support multiple inheritance? Explain
What is lambda in java?
How will you initialize an Applet?
How does varargs work in java?
What is the java project architecture?
What is the syntax and characteristics of a lambda expression? Explain
Is array passed by reference in java?