What is stack example?
No Answer is Posted For this Question
Be the First to Post Answer
What is internal variable?
how to deploy apache tomcat server to weblogic server in java
What are the rules for variable declaration?
What is linked hashset and its features?
How do you decide when to use arraylist and linkedlist?
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()); } }
What does n mean?
7) Suppose there is Student class like class student { int age; string name; } We want to store these objects in a HashMap. Do we need to override any methods in Student class? If any which ones and why? what if i just override equals or just hashcode? what will be the results in both the cases?
whether java is fully object oriented language or partially object oriented language
Can we force garbage collector to run ?
What are the drawbacks for singleton class?
What is Vector?Can you elaborate how Vector is Thread safe?