Can we overload destructor in java?
No Answer is Posted For this Question
Be the First to Post Answer
What are the principle concepts of oops?
Can we call virtual funciton in a constructor ?
Can you override a private or static method in java?
What will be the output of the program? public class Test { public static void main(String args[]) { ArrayList<String> list = new ArrayList<String>(); list.add("2"); list.add("3"); list.add("4"); list.add("5"); System.out.println("size :"+list.size()); for(int i=0;i<list.size();i++) { list.remove(i); } System.out.println("size after:"+list.size()); } }
Explain where variables are created in memory?
What is the difference between break and continue statements?
What is lazy initialization in java?
What is a method in programming?
why String class is immutable.
What is an enumeration class?
How do you sort a list in java?
What is a website container?