Explain oops concepts in detail?
No Answer is Posted For this Question
Be the First to Post Answer
What are loops in java? What are three types of loops?
What is super keyword in java ?
What is multi level inheritance in java?
Can we define a package statement after the import statement in java?
What is a void method?
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?
how can we use the servlet as standalone apllication?should we need to extend any class?
How to access a method that it declared as protected?
What do you mean by local class?
How do you get the length of a string in java?
What if I write static public void instead of public static void in java?
what is an object class?Explain its methods?