What is stream api in java8?
No Answer is Posted For this Question
Be the First to Post Answer
what is the major difference between linkedlist and arraylist in java?
How will you invoke any external process in java?
Explain the concept of hashtables?
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?
Difference between stack and queue?
Is JRE required to compile Java files ?
What is the difference between this() and super()?
Explain 5 io best practices?
What is a function easy definition?
Explain inheritance in java?
How to compare strings in java?
What is argument in java?