What are the default and parameterized constructors?
No Answer is Posted For this Question
Be the First to Post Answer
Can anonymous class have constructor?
How can we pass argument to a function by reference instead of pass by value?
Explain the polymorphism principle?
explain about casting of objects?
What makes a function well defined?
Can an unreachable object become reachable again?
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 is difference between hashset and hashmap?
Difference between linkedlist and arraylist.
Which class is extended by all other classes?
what is custom tags with example?
can we take more than one null values for Unique constraints.