What is the java project architecture?
No Answer is Posted For this Question
Be the First to Post Answer
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?
Is boolean a data type in java?
What is functional interface in java example?
What do you mean by compiler?
Define the term string pool?
make a method which any number and any type of argument and print sum of that arguments.....
Write a program to show whether a graph is a tree or not using adjacency matrix.
Why runnable interface is used in java?
What is the difference between notify and notifyall method?
Is 0 a real number?
what is difference between business delegate and data access object(dao)? in java?
How do you sort an array in java?