What is the list interface?
how many types of Inheritance?
What do you mean by hashing?
Can final class have constructor?
why did you choose your career in IT?
What does it mean to flush a file?
How can we get one Interface methods whit out using implementation of interface
Difference between keyword and identifier.
How do you add an element to a hashset 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()); } }
Are primitives objects?
What is difference between array and arraylist in java?
How can we use primitive data types as objects?