difference between vectorlist and hash
What is the functionability stubs and skeletons?
What is math floor in java?
Explain constructors and types of constructors in java.
Who is the owner of java?
What is fundamental datatype?
My interview asked what is dynamic variable in java and where we use them.
Can we assign the reference to this variable?
What is OOP's Terms with explanation?
What are encapsulation, inheritance and polymorphism?
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?
What is meant by Static query and Dynamic query?
What does you mean in math?